Skip to content

Commit

Permalink
fix(ui): TreeNode can failed without any outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Oct 18, 2022
1 parent 150f4ff commit 9d5c09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/graph/TreeNode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
},
taskRunsFlowExecutionId() {
const task = this.taskRuns
.find(r => r.outputs.executionId)
.find(r => r.outputs && r.outputs.executionId)
return task !== undefined ? task.outputs.executionId : undefined;
},
Expand Down

0 comments on commit 9d5c09a

Please sign in to comment.