mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
sidebars are now represented as widgets
This commit is contained in:
@@ -13,15 +13,13 @@ export default class TabCachingWidget extends TabAwareWidget {
|
||||
return this.$widget;
|
||||
}
|
||||
|
||||
activeTabChangedListener() {
|
||||
super.activeTabChangedListener();
|
||||
|
||||
refreshWithNote() {
|
||||
for (const widget of Object.values(this.widgets)) {
|
||||
widget.toggle(false);
|
||||
}
|
||||
|
||||
if (!this.tabContext) {
|
||||
console.log(`Received activeTabChanged to widget ${this.componentId} which does not have tabContext.`);
|
||||
console.log(`No tabContext in widget ${this.componentId}.`);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user