mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 07:15:51 +01:00
fix deleting
This commit is contained in:
@@ -123,7 +123,7 @@ $detail.on("click", ".note-menu-button", async e => {
|
||||
noteCreateService.createNote(node.data.noteId);
|
||||
}
|
||||
else if (cmd === "delete") {
|
||||
if (await treeChangesService.deleteNodes([node])) {
|
||||
if (await treeChangesService.deleteNotes([node])) {
|
||||
// move to the tree
|
||||
togglePanes();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user