frontend sync fixes

This commit is contained in:
zadam
2020-02-09 21:53:10 +01:00
parent 826c434630
commit 99ea238c3f
3 changed files with 6 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ export default class TabCachingWidget extends TabAwareWidget {
widget.eventReceived('setTabContext', {tabContext: this.tabContext});
}
widget.toggle(true);
widget.toggle(widget.isEnabled());
}
tabRemovedListener({tabId}) {
@@ -63,7 +63,7 @@ export default class TabCachingWidget extends TabAwareWidget {
for (const tabId in this.widgets) {
this.widgets[tabId].toggle(
show
&& this.tabContext && tabId === this.tabContext.tabId
&& this.isTab(tabId)
&& this.widgets[tabId].isEnabled());
}
}