Skip to content

Build your personal knowledge base with Trilium Notes

avoid getting refreshes on note title

zadam1862acd1ff92
diff --git a/src/public/app/widgets/note_title.js b/src/public/app/widgets/note_title.js
index e3f6d4ce85..e630deefca 100644
--- a/src/public/app/widgets/note_title.js
+++ b/src/public/app/widgets/note_title.js
@@ -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);