diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-25 10:09:16 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-25 10:09:16 +0100 |
commit | ed6bf343c81941207933b00ba04dbbe7ecd1f4d4 (patch) | |
tree | 60ec629641fd135f2b537275b1551eb8d0bc410a /app | |
parent | 7c7fe22c27820b941af51bdef84c3832dda0683e (diff) | |
download | gitlab-ce-ed6bf343c81941207933b00ba04dbbe7ecd1f4d4.tar.gz |
Fixed create new label form in issue form not working for sub-group projectsissuable-form-create-label-sub-groups
Closes #32906
Diffstat (limited to 'app')
-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 93c7fa0c7d6..1cf662e29c4 100644 --- a/app/views/shared/issuable/_label_dropdown.html.haml +++ b/app/views/shared/issuable/_label_dropdown.html.haml @@ -9,7 +9,7 @@ - selected = local_assigns.fetch(:selected, nil) - selected_toggle = local_assigns.fetch(:selected_toggle, nil) - dropdown_title = local_assigns.fetch(:dropdown_title, "Filter by label") -- dropdown_data = {toggle: 'dropdown', field_name: "label_name[]", show_no: "true", show_any: "true", namespace_path: @project.try(:namespace).try(:path), project_path: @project.try(:path), labels: labels_filter_path, default_label: "Labels"} +- dropdown_data = {toggle: 'dropdown', field_name: "label_name[]", show_no: "true", show_any: "true", namespace_path: @project.try(:namespace).try(:full_path), project_path: @project.try(:path), 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 |