Fix: support file download in workflow result (#11338)
This commit is contained in:
parent
a5d6082418
commit
0b25c0b677
15 changed files with 247 additions and 135 deletions
|
|
@ -48,7 +48,7 @@ const WorkflowPreview = () => {
|
|||
}, [showDebugAndPreviewPanel, showInputsPanel])
|
||||
|
||||
useEffect(() => {
|
||||
if ((workflowRunningData?.result.status === WorkflowRunningStatus.Succeeded || workflowRunningData?.result.status === WorkflowRunningStatus.Failed) && !workflowRunningData.resultText)
|
||||
if ((workflowRunningData?.result.status === WorkflowRunningStatus.Succeeded || workflowRunningData?.result.status === WorkflowRunningStatus.Failed) && !workflowRunningData.resultText && !workflowRunningData.result.files?.length)
|
||||
switchTab('DETAIL')
|
||||
}, [workflowRunningData])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue