mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-02 12:11:58 +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:
@@ -36,9 +36,7 @@
|
||||
icon="pi pi-stop"
|
||||
severity="danger"
|
||||
text
|
||||
@click="
|
||||
() => commandStore.getCommandFunction('Comfy.ClearPendingTasks')()
|
||||
"
|
||||
@click="() => commandStore.execute('Comfy.ClearPendingTasks')"
|
||||
v-tooltip.bottom="$t('sideToolbar.queueTab.clearPendingTasks')"
|
||||
/>
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user