fix refreshing notes after import / delete

(cherry picked from commit 5b5ab0b044)
This commit is contained in:
zadam
2019-11-03 18:33:43 +01:00
parent f7c59700a5
commit fcb6a06d68
3 changed files with 3 additions and 3 deletions

View File

@@ -148,7 +148,7 @@ async function deleteNodes(nodes) {
const nextNotePath = await getNextNode(nodes);
const noteIds = Array.from(new Set(nodes.map(node => node.data.noteId)));
const noteIds = Array.from(new Set(nodes.map(node => node.getParent().data.noteId)));
await treeService.reloadNotes(noteIds, nextNotePath);