feat(last-run): add handling for Listening status in run result calculation

This commit is contained in:
zhsama 2025-11-07 16:39:30 +08:00
parent 79e46c8a81
commit 7401792063
1 changed files with 3 additions and 0 deletions

View File

@ -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])