We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1d43dd commit 6a3942eCopy full SHA for 6a3942e
1 file changed
templates/components/avatar.html.twig
@@ -25,7 +25,7 @@
25
{# @var _rounded bool|int #}
26
{% set _rounded = (options.rounded ?? false) %}
27
{% set _circle = (options.circle ?? false) is same as true %}
28
- {% set _link = (options.link ?? options.href is defined) is same as true %}
+ {% set _link = (options.link ?? (options.href is defined)) is same as true %}
29
{% set _href = options.href ?? '' %}
30
{% set _extraClass = options.extraClass ?? '' %}
31
{% set _attr = options.attr ?? {} %}
0 commit comments