Removed old debugging code
This commit is contained in:
parent
48ac1a8044
commit
92287e2076
2 changed files with 8 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ export class App {
|
|||
document.getElementById('tree-nodes')?.focus()
|
||||
})
|
||||
|
||||
_mbus.subscribe('TREE_TRUNK_FETCHED', async () => {
|
||||
_mbus.subscribe('TREE_RENDERED', async () => {
|
||||
// Subscribing to the start node existing after the tree trunk is
|
||||
// fetched since the NODE_COMPONENT_EXIST message isn't sent for the
|
||||
// root node itself, and the root node should be selected in the tree
|
||||
|
|
@ -28,6 +28,8 @@ export class App {
|
|||
|
||||
if (startNode.UUID == ROOT_NODE)
|
||||
this.goToNode(startNode.UUID, false, false)
|
||||
else
|
||||
this.goToNode(startNode.UUID, false, false)
|
||||
})
|
||||
|
||||
_mbus.subscribe('TREE_NODE_SELECTED', event => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue