From b00b88f33a21fffba2cd1baf2898eed50d8c6871 Mon Sep 17 00:00:00 2001 From: Cyril Krylatov Date: Thu, 12 Jun 2025 20:57:31 +0200 Subject: [PATCH] [Icons] Trim DataList's dd to get a better copy value --- ux.symfony.com/templates/components/DataList.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ux.symfony.com/templates/components/DataList.html.twig b/ux.symfony.com/templates/components/DataList.html.twig index a0cdf5f8802..9e8ecd4e2ab 100644 --- a/ux.symfony.com/templates/components/DataList.html.twig +++ b/ux.symfony.com/templates/components/DataList.html.twig @@ -8,9 +8,9 @@
{%- if value.href|default %} {{ value.title }} - {% else %} + {% else -%} {{ value.title ?? value }} - {% endif -%} + {%- endif -%}
{% endif %}