Skip to content

Commit efe6330

Browse files
committed
[frontend] 工作流未运行节点移除背景面板显示
1 parent 4fe3b99 commit efe6330

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

agent-flow/src/components/flowRunComponent/RunningStatusPanel.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ const RunningStatusPanel = forwardRef(function ({shape, shapeStatus, onReportSho
8181
});
8282
};
8383

84+
// 如果节点未运行,不显示面板
85+
if (shapeStatus.runStatus === NODE_STATUS.UN_RUNNING) {
86+
return null;
87+
}
88+
8489
return (<>
8590
<div className={'running-status-panel'} style={getStyles()}>
8691
<Row style={{width: '95%', height: 20, marginLeft: MARGIN.left, marginTop: (MARGIN.top - 20) / 2}} justify="space-between" align="middle">

0 commit comments

Comments
 (0)