fix(webui): return an interrupted stage's cause and show it in a warning tone
This commit is contained in:
1 parent
25bd601a63
commit
4ce349cd15
4 files changed
+107
-82
No files matched your search
@@ -97,7 +97,12 @@ const nodeClass = computed(() =>
|
||||
</button>
|
||||
<div
|
||||
v-if="stage.error"
|
||||
class="mt-2 rounded-sm border-l-[3px] border-danger bg-danger-soft px-3 py-2 text-sm break-words whitespace-pre-wrap text-fg-muted"
|
||||
:class="
|
||||
cn(
|
||||
'mt-2 rounded-sm border-l-[3px] px-3 py-2 text-sm break-words whitespace-pre-wrap text-fg-muted',
|
||||
stage.status === 'interrupted' ? 'border-warn bg-warn-soft' : 'border-danger bg-danger-soft',
|
||||
)
|
||||
"
|
||||
>
|
||||
{{ stage.error }}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user