fix: show trashed notes that are also archived

This commit is contained in:
Baptiste Grob
2020-10-06 10:52:53 +02:00
parent 762190439f
commit 40df75dff9

View File

@@ -335,7 +335,7 @@ class NotesViewCtrl extends PureViewCtrl<{}, NotesState> {
(note: SNNote) => {
return notePassesFilter(
note,
this.getState().showArchived! || tag?.isArchiveTag,
this.getState().showArchived! || tag?.isArchiveTag || tag?.isTrashTag,
this.getState().hidePinned!,
this.getState().noteFilter.text.toLowerCase()
);