diff --git a/src/components/actionbar/ComfyQueueButton.vue b/src/components/actionbar/ComfyQueueButton.vue index e93c5998d..ffb2ba8f8 100644 --- a/src/components/actionbar/ComfyQueueButton.vue +++ b/src/components/actionbar/ComfyQueueButton.vue @@ -135,12 +135,12 @@ const hasPendingTasks = computed( ) const commandStore = useCommandStore() -const queuePrompt = (e: Event) => { +const queuePrompt = async (e: Event) => { const commandId = 'shiftKey' in e && e.shiftKey ? 'Comfy.QueuePromptFront' : 'Comfy.QueuePrompt' - commandStore.execute(commandId) + await commandStore.execute(commandId) }