Skip to content

Commit 7cba277

Browse files
authored
fix(ui): no jobs in runjobs (#5119)
1 parent 2f7acdc commit 7cba277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/app/views/workflow/run/node/pipeline/pipeline.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<ul>
1313
<li *ngFor="let j of stage.jobs">
1414
<div class="job ui segment pointing"
15-
[class.active]="currentJob.pipeline_action_id === j.pipeline_action_id"
15+
[class.active]="currentJob?.pipeline_action_id === j.pipeline_action_id"
1616
[class.success]="mapJobStatus?.get(j.pipeline_action_id) && mapJobStatus?.get(j.pipeline_action_id).status === pipelineStatusEnum.SUCCESS"
1717
[class.inactive]="mapJobStatus?.get(j.pipeline_action_id) && (mapJobStatus?.get(j.pipeline_action_id).status === pipelineStatusEnum.DISABLED || mapJobStatus?.get(j.pipeline_action_id).status === pipelineStatusEnum.SKIPPED)"
1818
[class.fail]="mapJobStatus?.get(j.pipeline_action_id) && mapJobStatus?.get(j.pipeline_action_id).status === pipelineStatusEnum.FAIL"

0 commit comments

Comments
 (0)