mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
frontend sync fixes
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user