mirror of
https://github.com/zadam/trilium.git
synced 2026-01-04 13:44:25 +01:00
fix(command_palette): sort child notes not working
This commit is contained in:
parent
7e01dfd220
commit
f6e275709f
@ -260,7 +260,11 @@ class CommandRegistry {
|
||||
}
|
||||
|
||||
const treeComponent = appContext.getComponentByEl(tree) as NoteTreeWidget;
|
||||
treeComponent.triggerCommand(actionName, { ntxId: appContext.tabManager.activeNtxId });
|
||||
const activeNode = treeComponent.getActiveNode();
|
||||
treeComponent.triggerCommand(actionName, {
|
||||
ntxId: appContext.tabManager.activeNtxId,
|
||||
node: activeNode
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user