mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix activating parent note after delete
This commit is contained in:
parent
cf3726289c
commit
2a9f36a027
@ -102,7 +102,7 @@ async function deleteNodes(nodes) {
|
|||||||
next = nodes[0].getPrevSibling();
|
next = nodes[0].getPrevSibling();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!next && !hoistedNoteService.isTopLevelNode(nodes[0])) {
|
if (!next && !await hoistedNoteService.isTopLevelNode(nodes[0])) {
|
||||||
next = nodes[0].getParent();
|
next = nodes[0].getParent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user