mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-26 09:19:43 +00:00
Add default toast error handling for command execution (#1106)
* Error handling execute command * Cleanup * Add playwright test * Mock i18n in jest test * Reduce test func timeout
This commit is contained in:
@@ -31,7 +31,7 @@ app.registerExtension({
|
||||
const commandStore = useCommandStore()
|
||||
const keybinding = keybindingStore.getKeybinding(keyCombo)
|
||||
if (keybinding) {
|
||||
await commandStore.getCommandFunction(keybinding.commandId)()
|
||||
await commandStore.execute(keybinding.commandId)
|
||||
event.preventDefault()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user