We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 403ae24 + 702dac9 commit 26c7ef8Copy full SHA for 26c7ef8
src/application/services/useNote.ts
@@ -379,13 +379,14 @@ export default function (options: UseNoteComposableOptions): UseNoteComposableSt
379
});
380
381
watch(noteTitle, (currentNoteTitle) => {
382
- patchOpenedPageByUrl(
383
- route.path,
384
- {
385
- title: currentNoteTitle,
386
- url: route.path,
387
- });
388
-
+ if (route.name == 'note') {
+ patchOpenedPageByUrl(
+ route.path,
+ {
+ title: currentNoteTitle,
+ url: route.path,
+ });
389
+ }
390
updateNoteHierarchyContent(noteHierarchy.value, lastUpdateContent.value);
391
392
0 commit comments