simplified updating note content

This commit is contained in:
zadam
2022-06-13 22:38:59 +02:00
parent 7edcd5d746
commit 4cec856e21
12 changed files with 23 additions and 51 deletions

View File

@@ -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;