summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-06-14 01:11:57 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-06-14 01:11:57 +0800
commit1cf081a8f402731fba1a0507826cc1e976d3ae74 (patch)
tree68cd93f6c99d7b69bb874a5af4db288db1d37060
parentcc1b03545c83c83e5791b5d04d7ff0b86f892364 (diff)
downloadgitlab-ce-1cf081a8f402731fba1a0507826cc1e976d3ae74.tar.gz
Unify app/views/shared/issuable/_sidebar_assignees.html.haml
-rw-r--r--app/views/shared/issuable/_sidebar_assignees.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar_assignees.html.haml b/app/views/shared/issuable/_sidebar_assignees.html.haml
index ed3ef6155db..8a13c7a3b83 100644
--- a/app/views/shared/issuable/_sidebar_assignees.html.haml
+++ b/app/views/shared/issuable/_sidebar_assignees.html.haml
@@ -50,7 +50,7 @@
- data[:multi_select] = true
- data['dropdown-title'] = title
- data['dropdown-header'] = dropdown_options[:data][:'dropdown-header']
- - data['max-select'] = dropdown_options[:data][:'max-select']
+ - data['max-select'] = dropdown_options[:data][:'max-select'] if dropdown_options[:data][:'max-select']
- options[:data].merge!(data)
= dropdown_tag(title, options: options)