Skip to content

Commit f2792d7

Browse files
committed
minor fix
1 parent e3be90e commit f2792d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/workflowEditor/workflowEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ class WorkflowEdit extends Component<WorkflowEditProps, WorkflowEditState> {
114114
const _envIds = []
115115
for (const workFlow of result.workflows) {
116116
for (const node of workFlow.nodes) {
117-
_envIds.push(node.environmentId)
118117
if (node.type === WorkflowNodeType.CI) {
119118
allCINodeMap.set(node.id, node)
120119
} else if (node.type === WorkflowNodeType.CD) {
120+
_envIds.push(node.environmentId)
121121
if (
122122
node.parentPipelineType === PipelineType.WEBHOOK &&
123123
this.state.envToShowWebhookTippy === node.environmentId

0 commit comments

Comments
 (0)