mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	fixes
This commit is contained in:
		| @@ -52,7 +52,7 @@ export default class Component { | ||||
|         await Promise.all(promises); | ||||
|     } | ||||
|  | ||||
|     async triggerCommand(name, data) { | ||||
|     async triggerCommand(name, data = {}) { | ||||
|         const fun = this[name + 'Command']; | ||||
|  | ||||
|         const called = await this.callMethod(fun, data); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user