chore(prettier): fix code style

This commit is contained in:
Panagiotis Papadopoulos
2025-03-02 20:47:57 +01:00
parent 67509bc92f
commit 2beaaa95bf
112 changed files with 857 additions and 819 deletions

View File

@@ -91,7 +91,7 @@ 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";
this.$noteTitle.val(isReadOnly ? await this.noteContext?.getNavigationTitle() || "" : note.title);
this.$noteTitle.val(isReadOnly ? (await this.noteContext?.getNavigationTitle()) || "" : note.title);
this.$noteTitle.prop("readonly", isReadOnly);
this.setProtectedStatus(note);