Skip to content

Commit eb40e44

Browse files

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BootstrapAdminUi/templates/shared/helper/button.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
{% if params.disabled %}aria-disabled="true"{% endif %}
3030
{% if params.dropdown %}data-bs-toggle="dropdown"{% endif %}
3131
{{ params.attr is iterable ? block('attributes') : (params.attr ? ' ' ~ params.attr) }}>
32-
{{ params.icon ? ux_icon(params.icon, {'class': params.icon_class|default('') }) }}
32+
{{ params.icon ? ux_icon(params.icon, {'class': params.icon_class|default('icon') }) }}
3333
{{ not params.icon_only ? params.text }}
3434
</a>
3535
{% else %}
@@ -40,7 +40,7 @@
4040
{% if params.disabled %}disabled{% endif %}
4141
{% if params.dropdown %}data-bs-toggle="dropdown"{% endif %}
4242
{{ params.attr is iterable ? block('attributes') : (params.attr ? ' ' ~ params.attr) }}>
43-
{{ params.icon ? ux_icon(params.icon, {'class': params.icon_class|default('') }) }}
43+
{{ params.icon ? ux_icon(params.icon, {'class': params.icon_class|default('icon') }) }}
4444
{{ not params.icon_only ? params.text }}
4545
</button>
4646
{% endif %}

0 commit comments

Comments
 (0)