Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(client): note title shown for read-only notes for the first time
Elian Doran23c2acaab786
diff --git a/apps/client/src/widgets/note_title.tsx b/apps/client/src/widgets/note_title.tsxindex b3323fb1c5..8207198d6b 100644--- a/apps/client/src/widgets/note_title.tsx+++ b/apps/client/src/widgets/note_title.tsx@@ -34,7 +34,7 @@ export default function NoteTitleWidget() {if (isReadOnly) {noteContext?.getNavigationTitle().then(setNavigationTitle);}- }, [noteContext, isReadOnly]);+ }, [note, isReadOnly]);// Save changes to title.const spacedUpdate = useSpacedUpdate(async () => {