feat(in-app-help): remove "contextual-help" suffix

This commit is contained in:
Elian Doran
2025-03-05 21:42:34 +02:00
parent 01f9ddaea7
commit 84c480c4c6
2 changed files with 6 additions and 2 deletions

View File

@@ -89,7 +89,10 @@ export default class NoteTitleWidget extends NoteContextAwareWidget {
}
async refreshWithNote(note: FNote) {
const isReadOnly = (note.isProtected && !protectedSessionHolder.isProtectedSessionAvailable()) || utils.isLaunchBarConfig(note.noteId) || this.noteContext?.viewScope?.viewMode !== "default";
const isReadOnly =
(note.isProtected && !protectedSessionHolder.isProtectedSessionAvailable())
|| utils.isLaunchBarConfig(note.noteId)
|| this.noteContext?.viewScope?.viewMode !== "default";
this.$noteTitle.val(isReadOnly ? await this.noteContext?.getNavigationTitle() || "" : note.title);
this.$noteTitle.prop("readonly", isReadOnly);