Go to newly created node.

This commit is contained in:
Magnus Åhall 2026-06-12 08:27:06 +02:00
parent 2d036f847a
commit ffb7f4ac53

View file

@ -152,8 +152,9 @@ export class App {
// Treenode is forcefully rerendered and children refetched to both show the new node // Treenode is forcefully rerendered and children refetched to both show the new node
// and to get it resorted. // and to get it resorted.
const treenode = this.sidebar.getTreeNode(this.currentNode.UUID) const parentTreenode = this.sidebar.getTreeNode(this.currentNode.UUID)
treenode.render(true, true) await parentTreenode.render(true, true)
_mbus.dispatch('GO_TO_NODE', { nodeUUID: nn.UUID })
}//}}} }//}}}
async goToNode(nodeUUID, dontPush, dontExpand) {//{{{ async goToNode(nodeUUID, dontPush, dontExpand) {//{{{
if (nodeUUID === null || nodeUUID === undefined) if (nodeUUID === null || nodeUUID === undefined)