mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 22:58:52 +02:00
fix(client): note title shown for read-only notes for the first time
This commit is contained in:
parent
4cc55b02ab
commit
23c2acaab7
@ -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 () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user