summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_pipeline.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/commit/_pipeline.html.haml')
-rw-r--r--app/views/projects/commit/_pipeline.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/commit/_pipeline.html.haml b/app/views/projects/commit/_pipeline.html.haml
index 540689f4a61..640abdb993f 100644
--- a/app/views/projects/commit/_pipeline.html.haml
+++ b/app/views/projects/commit/_pipeline.html.haml
@@ -46,5 +46,5 @@
- if pipeline.project.build_coverage_enabled?
%th Coverage
%th
- - pipeline.statuses.stages.each do |stage|
- = render 'projects/commit/ci_stage', stage: stage, statuses: pipeline.statuses.where(stage: stage)
+ - pipeline.statuses.relevant.stages.each do |stage|
+ = render 'projects/commit/ci_stage', stage: stage, statuses: pipeline.statuses.relevant.where(stage: stage)