diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2017-10-26 13:17:02 +0200 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2017-10-26 13:17:02 +0200 |
commit | 6bae610c67040a71f19ad74125dc70bf6c33bc0b (patch) | |
tree | 7f1f5563ac772151411fabb27e4c9a4b53172208 /app/views/admin/projects/index.html.haml | |
parent | fcc82ab601f1881558fc246f440f0ebe95bccab7 (diff) | |
download | gitlab-ce-6bae610c67040a71f19ad74125dc70bf6c33bc0b.tar.gz |
Replace showAny for NamespaceSelect by isFilter
Diffstat (limited to 'app/views/admin/projects/index.html.haml')
-rw-r--r-- | app/views/admin/projects/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects/index.html.haml b/app/views/admin/projects/index.html.haml index 4d8754afdd2..c37d8ac45b9 100644 --- a/app/views/admin/projects/index.html.haml +++ b/app/views/admin/projects/index.html.haml @@ -14,7 +14,7 @@ = hidden_field_tag :namespace_id, params[:namespace_id] - namespace = Namespace.find(params[:namespace_id]) - toggle_text = "#{namespace.kind}: #{namespace.full_path}" - = dropdown_toggle(toggle_text, { toggle: 'dropdown' }, { toggle_class: 'js-namespace-select large' }) + = dropdown_toggle(toggle_text, { toggle: 'dropdown', is_filter: 'true' }, { toggle_class: 'js-namespace-select large' }) .dropdown-menu.dropdown-select.dropdown-menu-align-right = dropdown_title('Namespaces') = dropdown_filter("Search for Namespace") |