[Profiler] Make the validator toolbar item consistent with the form one

This commit is contained in:
Maxime Steinhausser 2017-08-09 15:44:44 +02:00
parent 6727d41fd3
commit b622d26978

View File

@ -6,7 +6,7 @@
{% set icon %}
{{ include('@WebProfiler/Icon/validator.svg') }}
<span class="sf-toolbar-value">
{{ collector.violationsCount }}
{{ collector.violationsCount ?: collector.calls|length }}
</span>
{% endset %}