mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
fixes
This commit is contained in:
@@ -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'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user