diff --git a/browser/main/store.js b/browser/main/store.js index 8ca00e7f..27796d30 100644 --- a/browser/main/store.js +++ b/browser/main/store.js @@ -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