fix(web): issue with hide pinned and hide protected not having effect
This commit is contained in:
@@ -491,14 +491,14 @@ export class ItemListController
|
|||||||
this.application.getPreference(PrefKey.NotesShowTrashed, PrefDefaults[PrefKey.NotesShowTrashed]),
|
this.application.getPreference(PrefKey.NotesShowTrashed, PrefDefaults[PrefKey.NotesShowTrashed]),
|
||||||
)
|
)
|
||||||
|
|
||||||
newDisplayOptions.includePinned = useBoolean(
|
newDisplayOptions.includePinned = !useBoolean(
|
||||||
!selectedTag?.preferences?.hidePinned,
|
selectedTag?.preferences?.hidePinned,
|
||||||
!this.application.getPreference(PrefKey.NotesHidePinned, PrefDefaults[PrefKey.NotesHidePinned]),
|
this.application.getPreference(PrefKey.NotesHidePinned, PrefDefaults[PrefKey.NotesHidePinned]),
|
||||||
)
|
)
|
||||||
|
|
||||||
newDisplayOptions.includeProtected = useBoolean(
|
newDisplayOptions.includeProtected = !useBoolean(
|
||||||
!selectedTag?.preferences?.hideProtected,
|
selectedTag?.preferences?.hideProtected,
|
||||||
!this.application.getPreference(PrefKey.NotesHideProtected, PrefDefaults[PrefKey.NotesHideProtected]),
|
this.application.getPreference(PrefKey.NotesHideProtected, PrefDefaults[PrefKey.NotesHideProtected]),
|
||||||
)
|
)
|
||||||
|
|
||||||
newWebDisplayOptions.hideNotePreview = useBoolean(
|
newWebDisplayOptions.hideNotePreview = useBoolean(
|
||||||
|
|||||||
Reference in New Issue
Block a user