mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
avoid getting refreshes on note title
This commit is contained in:
parent
ce7e18d0b0
commit
1862acd1ff
@ -36,7 +36,7 @@ export default class NoteTitleWidget extends TabAwareWidget {
|
|||||||
|
|
||||||
protectedSessionHolder.touchProtectedSessionIfNecessary(this.note);
|
protectedSessionHolder.touchProtectedSessionIfNecessary(this.note);
|
||||||
|
|
||||||
await server.put(`notes/${this.noteId}/change-title`, {title});
|
await server.put(`notes/${this.noteId}/change-title`, {title}, this.componentId);
|
||||||
});
|
});
|
||||||
|
|
||||||
appContext.addBeforeUnloadListener(this);
|
appContext.addBeforeUnloadListener(this);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user