mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
expose ability to create note revisions in backend API #2890
This commit is contained in:
@@ -206,7 +206,7 @@ function changeTitle(req) {
|
||||
const noteTitleChanged = note.title !== title;
|
||||
|
||||
if (noteTitleChanged) {
|
||||
noteService.saveNoteRevision(note);
|
||||
noteService.saveNoteRevisionIfNeeded(note);
|
||||
}
|
||||
|
||||
note.title = title;
|
||||
|
||||
Reference in New Issue
Block a user