diff --git a/src/Resources/views/themes/base.html.twig b/src/Resources/views/themes/base.html.twig index 8f57dd0b..8679a02e 100755 --- a/src/Resources/views/themes/base.html.twig +++ b/src/Resources/views/themes/base.html.twig @@ -501,10 +501,11 @@ {% endblock %} {% block action_button_value %} - {% set attr = { - href, target, - 'data-kreyu--data-table-bundle--batch-target': 'identifierHolder' - }|merge(attr) %} + {% set attr = { href, target }|merge(attr|default({})) %} + + {% if batch %} + {% set attr = { 'data-kreyu--data-table-bundle--batch-target': 'identifierHolder' }|merge(attr) %} + {% endif %} {% with { attr: {} } %}{{- block('action_value', theme, _context) -}}{% endwith %}