mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +00:00
Prefer image for queue task preview (#520)
This commit is contained in:
@@ -52,6 +52,9 @@ onMounted(() => {
|
||||
aspect-ratio: 1 / 1;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.task-output-image {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<template v-if="task.displayStatus === TaskItemDisplayStatus.Completed">
|
||||
<ResultItem
|
||||
v-if="flatOutputs.length"
|
||||
:result="flatOutputs[0]"
|
||||
:result="task.previewOutput || flatOutputs[0]"
|
||||
@preview="handlePreview"
|
||||
/>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user