mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
small fixes
This commit is contained in:
@@ -45,14 +45,14 @@ class AppContext extends Component {
|
||||
this.triggerEvent(eventName);
|
||||
});
|
||||
|
||||
this.children = [ rootWidget ];
|
||||
|
||||
this.executors = [
|
||||
this.tabManager,
|
||||
new DialogCommandExecutor(this),
|
||||
new Entrypoints(this)
|
||||
];
|
||||
|
||||
this.children = [ rootWidget, ...this.executors ];
|
||||
|
||||
if (utils.isElectron()) {
|
||||
this.children.push(new ZoomService(this));
|
||||
|
||||
@@ -75,7 +75,9 @@ class AppContext extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
console.error(`Unhandled command ${name}`);
|
||||
console.debug(`Unhandled command ${name}, converting to event.`);
|
||||
|
||||
await this.triggerEvent(name, data);
|
||||
}
|
||||
|
||||
getComponentByEl(el) {
|
||||
|
||||
Reference in New Issue
Block a user