Explorar o código

don't display action menu if there are no filters

Fabien Bourigault %!s(int64=8) %!d(string=hai) anos
pai
achega
7056ebbcfe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Resources/views/CRUD/base_list.html.twig

+ 1 - 1
Resources/views/CRUD/base_list.html.twig

@@ -206,7 +206,7 @@ file that was distributed with this source code.
 {% endblock %}
 
 {% block list_filters_actions %}
-    {%- if admin.datagrid.filters|length %}
+    {%- if admin.datagrid.hasDisplayableFilters %}
         <ul class="nav navbar-nav navbar-right">
 
             <li class="dropdown sonata-actions">