Skip to content

Commit

Permalink
Fix luma (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyf-github-user authored Sep 11, 2024
1 parent e042b9f commit 122f6f8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix luma",
"packageName": "@acedatacloud/nexior",
"email": "[email protected]",
"dependentChangeType": "patch"
}
6 changes: 5 additions & 1 deletion src/components/luma/task/Preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
{{ modelValue?.request?.prompt }}
<span v-if="!modelValue?.response"> - ({{ $t('luma.status.pending') }}) </span>
<span
v-if="modelValue?.response?.data?.state === 'processing' || modelValue?.response?.data?.state === 'pending'"
v-if="
modelValue?.response?.data?.state === 'processing' ||
modelValue?.response?.data?.state === 'pending' ||
modelValue?.response?.data?.state === 'completed'
"
>
- ({{ $t('luma.status.processing') }})
</span>
Expand Down

0 comments on commit 122f6f8

Please sign in to comment.