await queue button actions

This commit is contained in:
bymyself
2025-04-11 07:32:14 -07:00
parent ad0d1833d2
commit 3d18bf75d9

View File

@@ -47,7 +47,7 @@
:disabled="!executingPrompt"
text
:aria-label="$t('menu.interrupt')"
@click="() => commandStore.execute('Comfy.Interrupt')"
@click="async () => await commandStore.execute('Comfy.Interrupt')"
>
</Button>
<Button
@@ -61,9 +61,9 @@
text
:aria-label="$t('sideToolbar.queueTab.clearPendingTasks')"
@click="
() => {
async () => {
if (queueCountStore.count.value > 1) {
commandStore.execute('Comfy.ClearPendingTasks')
await commandStore.execute('Comfy.ClearPendingTasks')
}
queueMode = 'disabled'
}