diff options
author | Phil Hughes <me@iamphill.com> | 2016-07-18 18:57:44 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-07-20 10:48:02 +0100 |
commit | 0a81c00040c6bfe451a855f41dcc7b62eda4b009 (patch) | |
tree | cef5f429d0721d7dd50b255d4cd9bcfbfaee92aa /app/views/shared/issuable/_label_dropdown.html.haml | |
parent | 70d5493e21fbdf21020c5cfcf67919d157bfb9db (diff) | |
download | gitlab-ce-0a81c00040c6bfe451a855f41dcc7b62eda4b009.tar.gz |
Fixed 'no label' being in dropdown toggle label
Diffstat (limited to 'app/views/shared/issuable/_label_dropdown.html.haml')
-rw-r--r-- | app/views/shared/issuable/_label_dropdown.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_label_dropdown.html.haml b/app/views/shared/issuable/_label_dropdown.html.haml index 666372b95a6..4899496dcc0 100644 --- a/app/views/shared/issuable/_label_dropdown.html.haml +++ b/app/views/shared/issuable/_label_dropdown.html.haml @@ -7,7 +7,7 @@ - classes = local_assigns.fetch(:classes, []) - selected = local_assigns.fetch(:selected, nil) - selected_toggle = local_assigns.fetch(:selected_toggle, nil) -- dropdown_data = {toggle: 'dropdown', field_name: "label_name[]", show_no: "true", show_any: "true", selected: selected, project_id: project.try(:id), labels: labels_filter_path, default_label: "Label"} +- dropdown_data = {toggle: 'dropdown', field_name: "label_name[]", show_no: "true", show_any: "true", selected: selected, project_id: project.try(:id), labels: labels_filter_path, default_label: "Labels"} - dropdown_data.merge!(data_options) - classes << 'js-extra-options' if extra_options - classes << 'js-filter-submit' if filter_submit |