style/center pane: optimize the identification of options pages

This commit is contained in:
Adorian Doran
2025-10-25 11:28:26 +03:00
parent 1568908982
commit 638cb4281e
2 changed files with 4 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
this.$widget.addClass(utils.getNoteTypeClass(note.type));
this.$widget.addClass(utils.getMimeTypeClass(note.mime));
this.$widget.toggleClass("options", note.isOptions());
this.$widget.toggleClass("protected", note.isProtected);
const noteLanguage = note?.getLabelValue("language");