Fix: load element if set in the hash

This commit is contained in:
Pieter Vander Vennet 2023-06-07 18:04:25 +02:00
parent f847ebf3b8
commit 9090dda688
3 changed files with 25 additions and 17 deletions

View file

@ -55,7 +55,6 @@ export class MenuState {
[],
(str) => MenuState._menuviewTabs.indexOf(<any>str)
)
this.menuViewTab.addCallbackAndRunD(s => console.trace("Menu view tab state is", s, this.menuIsOpened.data))
this.menuIsOpened.addCallbackAndRun((isOpen) => {
if (!isOpen) {
this.highlightedUserSetting.setData(undefined)