mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
fix(client): note title not working for in-app help
This commit is contained in:
parent
fbd47025d6
commit
57004ab848
@ -34,7 +34,7 @@ export default function NoteTitleWidget() {
|
|||||||
if (isReadOnly) {
|
if (isReadOnly) {
|
||||||
noteContext?.getNavigationTitle().then(setNavigationTitle);
|
noteContext?.getNavigationTitle().then(setNavigationTitle);
|
||||||
}
|
}
|
||||||
}, [isReadOnly]);
|
}, [noteContext, isReadOnly]);
|
||||||
|
|
||||||
// Save changes to title.
|
// Save changes to title.
|
||||||
const spacedUpdate = useSpacedUpdate(async () => {
|
const spacedUpdate = useSpacedUpdate(async () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user