mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 09:45:52 +01:00
fix refreshing notes after import / delete
(cherry picked from commit 5b5ab0b044)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user