summaryrefslogtreecommitdiff
path: root/app/views/admin/projects/index.html.haml
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2017-10-26 13:17:02 +0200
committerWinnie Hellmann <winnie@gitlab.com>2017-10-26 13:17:02 +0200
commit6bae610c67040a71f19ad74125dc70bf6c33bc0b (patch)
tree7f1f5563ac772151411fabb27e4c9a4b53172208 /app/views/admin/projects/index.html.haml
parentfcc82ab601f1881558fc246f440f0ebe95bccab7 (diff)
downloadgitlab-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.haml2
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")