mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01: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();
|
||||
}
|
||||
|
||||
if (!next && !hoistedNoteService.isTopLevelNode(nodes[0])) {
|
||||
if (!next && !await hoistedNoteService.isTopLevelNode(nodes[0])) {
|
||||
next = nodes[0].getParent();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user