summaryrefslogtreecommitdiff
path: root/app/views/discussions/_notes.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/discussions/_notes.html.haml')
-rw-r--r--app/views/discussions/_notes.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/discussions/_notes.html.haml b/app/views/discussions/_notes.html.haml
index fbe470bed2c..dfdbdf1f969 100644
--- a/app/views/discussions/_notes.html.haml
+++ b/app/views/discussions/_notes.html.haml
@@ -10,6 +10,7 @@
.btn-group{ role: "group" }
= link_to_reply_discussion(discussion, line_type)
= render "discussions/resolve_all", discussion: discussion
- = render "discussions/jump_to_next", discussion: discussion
+ - if discussion.for_merge_request?
+ = render "discussions/jump_to_next", discussion: discussion
- else
= link_to_reply_discussion(discussion)