Fix quick arrow navigation not collapsing nodes correctly
This commit is contained in:
parent
b3e5d79403
commit
4976a6ebe0
5 changed files with 60 additions and 69 deletions
|
|
@ -80,8 +80,11 @@ export class N2PageHistory extends CustomHTMLElement {
|
|||
|
||||
})
|
||||
|
||||
_mbus.subscribe('NODE_UI_OPEN', async (event) => {
|
||||
await this.useNode(event.detail.data)
|
||||
_mbus.subscribe('SHOW_PAGE', async (event) => {
|
||||
if(event.detail.data.page != 'history')
|
||||
return
|
||||
|
||||
await this.useNode(_app.nodeUI.node)
|
||||
this.render()
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue