Skip to content

Commit 9b75ff1

Browse files
committed
fix: overriden CI workflow link breaking
1 parent 50a1710 commit 9b75ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/workflowEditor/Workflow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ export class Workflow extends Component<WorkflowProps, WorkflowState> {
286286
} else if (node.isExternalCI) {
287287
url = getExCIPipelineURL(appId, this.props.id.toString(), node.id)
288288
} else {
289-
const currPipeline = this.props.filteredCIPipelines.find((pipeline) => +pipeline.id === +node.id)
289+
const currPipeline = (this.props.filteredCIPipelines ?? []).find((pipeline) => +pipeline.id === +node.id)
290290
url = getCIPipelineURL(
291291
appId,
292292
this.props.id.toString(),

0 commit comments

Comments
 (0)