mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
fix(client): note title shown for read-only notes for the first time
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user