summaryrefslogtreecommitdiff
path: root/app/views/projects/issues/_related_branches.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/issues/_related_branches.html.haml')
-rw-r--r--app/views/projects/issues/_related_branches.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/_related_branches.html.haml b/app/views/projects/issues/_related_branches.html.haml
index b9bb6fe559d..c6fc499a7b8 100644
--- a/app/views/projects/issues/_related_branches.html.haml
+++ b/app/views/projects/issues/_related_branches.html.haml
@@ -6,7 +6,7 @@
%li
- sha = @project.repository.find_branch(branch).target
- pipeline = @project.pipeline(sha, branch) if sha
- - if ci_copipelinemmit
+ - if pipeline
%span.related-branch-ci-status
= render_pipeline_status(pipeline)
%span.related-branch-info