diff --git a/app/assets/javascripts/views/notes/notes_view.ts b/app/assets/javascripts/views/notes/notes_view.ts index c43c949ee..9d71f391b 100644 --- a/app/assets/javascripts/views/notes/notes_view.ts +++ b/app/assets/javascripts/views/notes/notes_view.ts @@ -707,6 +707,8 @@ class NotesViewCtrl extends PureViewCtrl { this.searchBarInput?.[0].focus(); if (this.state.noteFilter.includeProtectedNoteText) { this.state.noteFilter.includeProtectedNoteText = false; + this.reloadNotesDisplayOptions(); + await this.reloadNotes(); } else { this.setState({ authorizingSearchOptions: true, @@ -714,6 +716,8 @@ class NotesViewCtrl extends PureViewCtrl { event.preventDefault(); if (await this.application.authorizeSearchingProtectedNotesText()) { this.state.noteFilter.includeProtectedNoteText = true; + this.reloadNotesDisplayOptions(); + await this.reloadNotes(); } await this.$timeout(50); await this.setState({ diff --git a/package.json b/package.json index f72a83dc6..6a94b0981 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "standard-notes-web", - "version": "3.6.1", + "version": "3.6.2", "license": "AGPL-3.0-or-later", "repository": { "type": "git",