Skip to content

Commit c578795

Browse files
committed
Dont overwrite on regular stage view
1 parent ffa459a commit c578795

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/frontend/pipeline-graph-view/pipeline-graph/main/PipelineGraph.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ export class PipelineGraph extends React.Component {
175175
"stage" in node &&
176176
node.stage &&
177177
Array.isArray(column.topStage.children) &&
178-
column.topStage.children.includes(node.stage)
178+
column.topStage.children.includes(node.stage) &&
179+
this.props.collapsed
179180
) {
180181
node.stage.state = topStageState;
181182
}

0 commit comments

Comments
 (0)