Skip to content

Commit 8c51546

Browse files
committed
Fix admin context in flash_messages.html.twig
1 parent be0a05d commit 8c51546

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

templates/bundles/EasyAdminBundle/flash_messages.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{# template override to limit flash messages to Boostrap color types #}
22

3-
{# @var ea \EasyCorp\Bundle\EasyAdminBundle\Provider\AdminContextProvider #}
4-
{% trans_default_domain ea.hasContext ? ea.i18n.translationDomain : (translation_domain is defined ? translation_domain ?? 'messages') %}
3+
{# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #}
4+
{% trans_default_domain ea.i18n.translationDomain %}
55

66
{% set flash_messages = app.flashes(['primary', 'secondary', 'danger', 'info', 'success', 'warning']) %}
77

0 commit comments

Comments
 (0)