diff --git a/src/application/services/useNote.ts b/src/application/services/useNote.ts index 3f36a4a2..4244020b 100644 --- a/src/application/services/useNote.ts +++ b/src/application/services/useNote.ts @@ -379,13 +379,14 @@ export default function (options: UseNoteComposableOptions): UseNoteComposableSt }); watch(noteTitle, (currentNoteTitle) => { - patchOpenedPageByUrl( - route.path, - { - title: currentNoteTitle, - url: route.path, - }); - + if (route.name == 'note') { + patchOpenedPageByUrl( + route.path, + { + title: currentNoteTitle, + url: route.path, + }); + } updateNoteHierarchyContent(noteHierarchy.value, lastUpdateContent.value); });