Skip to content

Commit

Permalink
[WebProfiler] "empty" filter bugfix. Filter with name "empty" is not …
Browse files Browse the repository at this point in the history
…exists in twig.
  • Loading branch information
luzrain committed Jul 26, 2021
1 parent 10db99e commit be142cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/Collector/mailer.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
{% block menu %}
{% set events = collector.events %}

<span class="label {{ events.messages|empty ? 'disabled' }}">
<span class="label {{ events.messages is empty ? 'disabled' }}">
<span class="icon">{{ include('@WebProfiler/Icon/mailer.svg') }}</span>

<strong>E-mails</strong>
Expand Down

0 comments on commit be142cf

Please sign in to comment.