mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
simplified updating note content
This commit is contained in:
@@ -97,7 +97,7 @@ function restoreNoteRevision(req) {
|
||||
if (noteRevision) {
|
||||
const note = noteRevision.getNote();
|
||||
|
||||
noteRevisionService.createNoteRevision(note);
|
||||
note.saveNoteRevision();
|
||||
|
||||
note.title = noteRevision.title;
|
||||
note.setContent(noteRevision.getContent());
|
||||
|
||||
Reference in New Issue
Block a user