mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
Merge remote-tracking branch 'origin/develop' into feature/rtl
; Conflicts: ; src/public/app/widgets/floating_buttons/help_button.ts
This commit is contained in:
@@ -94,7 +94,7 @@ export default class NoteTitleWidget extends NoteContextAwareWidget {
|
||||
|| 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);
|
||||
|
||||
Reference in New Issue
Block a user