mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36: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:
@@ -256,7 +256,7 @@ function data (state = defaultDataMap(), action) {
|
|||||||
let noteSet = state.storageNoteMap.get(note.storage)
|
let noteSet = state.storageNoteMap.get(note.storage)
|
||||||
noteSet = new Set(noteSet)
|
noteSet = new Set(noteSet)
|
||||||
noteSet.add(uniqueKey)
|
noteSet.add(uniqueKey)
|
||||||
state.folderNoteMap.set(folderKey, noteSet)
|
state.storageNoteMap.set(folderKey, noteSet)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update foldermap if folder changed or post created
|
// Update foldermap if folder changed or post created
|
||||||
|
|||||||
Reference in New Issue
Block a user