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

Merge pull request #1895 from yosmoc/move_note_diff_storage_bug

fix moving note across different storage bug
This commit is contained in:
Junyoung Choi (Sai)
2018-05-14 17:52:29 +09:00
committed by GitHub

View File

@@ -256,7 +256,7 @@ function data (state = defaultDataMap(), action) {
let noteSet = state.storageNoteMap.get(note.storage)
noteSet = new Set(noteSet)
noteSet.add(uniqueKey)
state.folderNoteMap.set(folderKey, noteSet)
state.storageNoteMap.set(folderKey, noteSet)
}
// Update foldermap if folder changed or post created