await queue prompt

This commit is contained in:
bymyself
2025-04-11 07:37:51 -07:00
parent 3d18bf75d9
commit cb8ada3723

View File

@@ -135,12 +135,12 @@ const hasPendingTasks = computed(
) )
const commandStore = useCommandStore() const commandStore = useCommandStore()
const queuePrompt = (e: Event) => { const queuePrompt = async (e: Event) => {
const commandId = const commandId =
'shiftKey' in e && e.shiftKey 'shiftKey' in e && e.shiftKey
? 'Comfy.QueuePromptFront' ? 'Comfy.QueuePromptFront'
: 'Comfy.QueuePrompt' : 'Comfy.QueuePrompt'
commandStore.execute(commandId) await commandStore.execute(commandId)
} }
</script> </script>