Parcourir la source

User the groups variable and not the admin_pool.dashboardGroups to iterate over dashboard groups

Yorkie Chadwick il y a 13 ans
Parent
commit
94c31b6e26
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Resources/views/Block/block_admin_list.html.twig

+ 1 - 1
Resources/views/Block/block_admin_list.html.twig

@@ -12,7 +12,7 @@ file that was distributed with this source code.
 {% extends 'SonataBlockBundle:Block:block_base.html.twig' %}
 
 {% block block %}
-    {% for group in admin_pool.dashboardGroups %}
+    {% for group in groups %}
         <table class="table table-bordered table-striped sonata-ba-list">
             <thead>
                 <tr>