mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
fixes in enabling / disabling widgets in runtime
This commit is contained in:
@@ -9,6 +9,10 @@ export default class SidePaneContainer extends FlexContainer {
|
||||
this.children = widgets;
|
||||
}
|
||||
|
||||
isEnabled() {
|
||||
return super.isEnabled() && options.is(this.side + 'PaneVisible');
|
||||
}
|
||||
|
||||
eventReceived(name, data, sync = false) {
|
||||
if (options.is(this.side + 'PaneVisible')) {
|
||||
super.eventReceived(name, data, sync);
|
||||
|
||||
Reference in New Issue
Block a user