Skip to content
Snippets Groups Projects
Commit 6d205f9d authored by Clement Ho's avatar Clement Ho
Browse files

Remove unnecessary if check

parent 58726ffc
No related branches found
No related tags found
2 merge requests!12073Add RC2 changes to 9-3-stable,!11185Resolve "Follow-up from "Backport of Multiple Assignees feature""
Pipeline #
Loading
Loading
@@ -14,7 +14,7 @@
.value.hide-collapsed
- if issuable.assignee
= link_to_member(@project, issuable.assignee, size: 32, extra_class: 'bold') do
- if issuable.instance_of?(MergeRequest) && !issuable.can_be_merged_by?(issuable.assignee)
- if !issuable.can_be_merged_by?(issuable.assignee)
%span.pull-right.cannot-be-merged{ data: { toggle: 'tooltip', placement: 'left' }, title: 'Not allowed to merge' }
= icon('exclamation-triangle', 'aria-hidden': 'true')
%span.username
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment