avoid getting refreshes on note title

This commit is contained in:
zadam 2021-03-23 22:46:18 +01:00
parent ce7e18d0b0
commit 1862acd1ff

View File

@ -36,7 +36,7 @@ export default class NoteTitleWidget extends TabAwareWidget {
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);