fix deleting

This commit is contained in:
zadam
2020-02-12 22:25:52 +01:00
parent 789f62267c
commit 380bb0cd01
6 changed files with 20 additions and 22 deletions

View File

@@ -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();
}