mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
fix lazy initialization of the sidebar
This commit is contained in:
@@ -78,6 +78,10 @@ export default class TabAwareWidget extends BasicWidget {
|
||||
}
|
||||
|
||||
lazyLoadedListener() {
|
||||
if (!this.tabContext) { // has not been loaded yet
|
||||
this.tabContext = this.appContext.getActiveTabContext();
|
||||
}
|
||||
|
||||
this.refresh();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user