1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

export folder as md or text

This commit is contained in:
Maurits Lourens
2017-11-20 17:33:17 +01:00
parent d29d5105f1
commit 959b75bddd
6 changed files with 206 additions and 26 deletions

View File

@@ -349,6 +349,13 @@ function data (state = defaultDataMap(), action) {
state.storageMap = new Map(state.storageMap)
state.storageMap.set(action.storage.key, action.storage)
return state
case 'EXPORT_FOLDER':
{
state = Object.assign({}, state)
state.storageMap = new Map(state.storageMap)
state.storageMap.set(action.storage.key, action.storage)
}
return state
case 'DELETE_FOLDER':
{
state = Object.assign({}, state)