mirror of https://github.com/langgenius/dify.git
feat(last-run): add handling for Listening status in run result calculation
This commit is contained in:
parent
79e46c8a81
commit
7401792063
|
|
@ -67,6 +67,9 @@ const LastRun: FC<Props> = ({
|
|||
if (oneStepRunRunningStatus === NodeRunningStatus.Stopped)
|
||||
return NodeRunningStatus.Stopped
|
||||
|
||||
if (oneStepRunRunningStatus === NodeRunningStatus.Listening)
|
||||
return NodeRunningStatus.Listening
|
||||
|
||||
return (runResult as any).status || otherResultPanelProps.status
|
||||
}, [isPaused, oneStepRunRunningStatus, runResult, otherResultPanelProps.status])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue