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 44683c8bcdb..1892ebb512f 100644
--- a/app/views/projects/issues/_related_branches.html.haml
+++ b/app/views/projects/issues/_related_branches.html.haml
@@ -4,7 +4,7 @@
%ul.unstyled-list.related-merge-requests
- @related_branches.each do |branch|
%li
- - target = @project.repository.find_branch(branch).target
+ - target = @project.repository.find_branch(branch).dereferenced_target
- pipeline = @project.pipeline_for(branch, target.sha) if target
- if pipeline
%span.related-branch-ci-status