fix: always show archived notes when active tag is archive tag

This commit is contained in:
Baptiste Grob
2020-09-28 10:52:28 +02:00
parent fc3b5f06d3
commit 4ae680e936

View File

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