mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
converted NoteRevision entity to the becca
This commit is contained in:
@@ -62,7 +62,7 @@ const ACTION_HANDLERS = {
|
||||
note.save();
|
||||
},
|
||||
deleteNoteRevisions: (action, note) => {
|
||||
noteRevisionService.eraseNoteRevisions(note.getRevisions().map(rev => rev.noteRevisionId));
|
||||
noteRevisionService.eraseNoteRevisions(note.getNoteRevisions().map(rev => rev.noteRevisionId));
|
||||
},
|
||||
deleteLabel: (action, note) => {
|
||||
for (const label of note.getOwnedLabels(action.labelName)) {
|
||||
|
||||
Reference in New Issue
Block a user