Skip to content

Commit

Permalink
Fix PHPUnit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Feb 23, 2023
1 parent 00f29bb commit 8ffcbad
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Bundle/test/templates/crud/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
{% set grid = resources %}
{% set definition = grid.definition %}


{% for action in definition.getEnabledActions('bulk') %}
{{ sylius_grid_render_bulk_action(grid, action, null) }}
{% endfor %}
{% if definition.actionGroups.bulk is defined and definition.getEnabledActions('bulk')|length > 0 %}
{% for action in definition.getEnabledActions('bulk') %}
{{ sylius_grid_render_bulk_action(grid, action, null) }}
{% endfor %}
{% endif %}

<table>
<thead>
Expand Down

0 comments on commit 8ffcbad

Please sign in to comment.