mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
fixes
This commit is contained in:
@@ -23,6 +23,8 @@ export default class PaneContainer extends FlexContainer {
|
||||
|
||||
this.$widget.append($renderedWidget);
|
||||
|
||||
widget.handleEvent('initialRenderComplete');
|
||||
|
||||
widget.toggleExt(false);
|
||||
|
||||
this.widgets[noteContext.ntxId] = widget;
|
||||
@@ -60,7 +62,7 @@ export default class PaneContainer extends FlexContainer {
|
||||
|
||||
for (const ntxId in this.widgets) {
|
||||
const noteContext = appContext.tabManager.getNoteContextById(ntxId);
|
||||
|
||||
console.log(noteContext, activeNtxId);
|
||||
const widget = this.widgets[ntxId];
|
||||
widget.toggleExt(show && activeNtxId && [noteContext.ntxId, noteContext.mainNtxId].includes(activeNtxId));
|
||||
}
|
||||
@@ -116,6 +118,8 @@ export default class PaneContainer extends FlexContainer {
|
||||
}
|
||||
}
|
||||
|
||||
this.refresh();
|
||||
|
||||
return Promise.all(promises);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user