fix: show warning flashes in the admin layout

This commit is contained in:
fromme committed 2026-11-04 15:32:49 +01:00
1 parent e8fa71175d
commit d63fa10a56
1 file changed
+3
@@ -7,3 +7,6 @@
{% if app.session.flashBag.peek('info')|length > 0 %}
{% include '_partials/_toast.html.twig' with { level: 'info', messages: app.flashes('info') } %}
{% endif %}
{% if app.session.flashBag.peek('warning')|length > 0 %}
{% include '_partials/_toast.html.twig' with { level: 'warning', messages: app.flashes('warning') } %}
{% endif %}