Commit 9ce3fa4c authored by Clement Ho's avatar Clement Ho

Show weight filter in issue board modal

parent 65effeb2
...@@ -66,7 +66,7 @@ class FilteredSearchDropdownManager { ...@@ -66,7 +66,7 @@ class FilteredSearchDropdownManager {
this.mapping.weight = { this.mapping.weight = {
reference: null, reference: null,
gl: 'DropdownNonUser', gl: 'DropdownNonUser',
element: document.querySelector('#js-dropdown-weight'), element: this.container.querySelector('#js-dropdown-weight'),
}; };
} }
} }
......
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
%span.label-title.js-data-value %span.label-title.js-data-value
{{title}} {{title}}
- if type == :issues || type == :boards - if type == :issues || type == :boards || type == :boards_modal
#js-dropdown-weight.filtered-search-input-dropdown-menu.dropdown-menu{ data: { icon: 'balance-scale', hint: 'weight', tag: 'weight' } } #js-dropdown-weight.filtered-search-input-dropdown-menu.dropdown-menu{ data: { icon: 'balance-scale', hint: 'weight', tag: 'weight' } }
%ul{ 'data-dropdown' => true } %ul{ 'data-dropdown' => true }
%li.filter-dropdown-item{ 'data-value' => 'none' } %li.filter-dropdown-item{ 'data-value' => 'none' }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment