This commit is contained in:
zadam
2020-02-16 11:22:37 +01:00
parent e06f3ef97e
commit 2c3f07521d
4 changed files with 9 additions and 8 deletions

View File

@@ -98,7 +98,7 @@ class AppContext {
this.trigger('treeCacheReloaded');
}
async triggerCommand(name, data) {
async triggerCommand(name, data = {}) {
for (const executor of this.executors) {
const fun = executor[name + 'Command'];