mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
simplified updating note content
This commit is contained in:
@@ -38,7 +38,7 @@ export default class NoteTitleWidget extends NoteContextAwareWidget {
|
||||
|
||||
protectedSessionHolder.touchProtectedSessionIfNecessary(this.note);
|
||||
|
||||
await server.put(`notes/${this.noteId}/change-title`, {title}, this.componentId);
|
||||
await server.put(`notes/${this.noteId}/title`, {title}, this.componentId);
|
||||
});
|
||||
|
||||
this.deleteNoteOnEscape = false;
|
||||
|
||||
Reference in New Issue
Block a user