Skip to content

Commit 3634194

Browse files
dredavRokt33r
authored andcommitted
Fix for BoostIO#2836, Initialize storage ignores now tags from skipped notes
1 parent 038b87c commit 3634194

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

browser/main/store.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ function data (state = defaultDataMap(), action) {
4444
const folderNoteSet = getOrInitItem(state.folderNoteMap, folderKey)
4545
folderNoteSet.add(uniqueKey)
4646

47-
assignToTags(note.tags, state, uniqueKey)
47+
if (!note.isTrashed) {
48+
assignToTags(note.tags, state, uniqueKey)
49+
}
4850
})
4951
return state
5052
case 'UPDATE_NOTE':

0 commit comments

Comments
 (0)