From cb8ada372367c664f41919c4db6377ececd05f37 Mon Sep 17 00:00:00 2001 From: bymyself Date: Fri, 11 Apr 2025 07:37:51 -0700 Subject: [PATCH] await queue prompt --- src/components/actionbar/ComfyQueueButton.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }