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

Fix for #2836, Initialize storage ignores now tags from skipped notes

This commit is contained in:
David Dreher
2019-02-23 08:42:38 +01:00
committed by Junyoung Choi
parent 038b87cf70
commit 3634194e4d

View File

@@ -44,7 +44,9 @@ function data (state = defaultDataMap(), action) {
const folderNoteSet = getOrInitItem(state.folderNoteMap, folderKey) const folderNoteSet = getOrInitItem(state.folderNoteMap, folderKey)
folderNoteSet.add(uniqueKey) folderNoteSet.add(uniqueKey)
assignToTags(note.tags, state, uniqueKey) if (!note.isTrashed) {
assignToTags(note.tags, state, uniqueKey)
}
}) })
return state return state
case 'UPDATE_NOTE': case 'UPDATE_NOTE':