Skip to content

Commit 7e39fa7

Browse files
committed
Merge branch 'hotfix/v1.2.3'
2 parents 75d451f + 8533c21 commit 7e39fa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/views/tailwind_2/_header.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138

139139

140140
{% set additionalClass = (not isOnShow) ? (content.option('attr')['class'] ?? '') : '' %}
141-
{% set additionalAttributes = (not isOnShow) ? attr|map((value, attr) => "#{attr}=\"#{value}\"")|join(' ') : '' %}
141+
{% set additionalAttributes = (not isOnShow) ? attr|default([])|map((value, attr) => "#{attr}=\"#{value}\"")|join(' ') : '' %}
142142

143143
<div
144144
class="flex justify-end {{ additionalClass }}"

0 commit comments

Comments
 (0)