Skip to content

Commit cb20337

Browse files
authored
fix toolbar and menu not showing in profiler (#458)
1 parent ec42d88 commit cb20337

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Resources/views/Collector/migrations.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% import _self as helper %}
44

55
{% block toolbar %}
6-
{% if collector.data.unavailable_migrations is defined %}
6+
{% if collector.data.unavailable_migrations_count is defined %}
77
{% set unavailable_migrations = collector.data.unavailable_migrations_count %}
88
{% set new_migrations = collector.data.new_migrations|length %}
99
{% if unavailable_migrations > 0 or new_migrations > 0 %}
@@ -47,7 +47,7 @@
4747

4848

4949
{% block menu %}
50-
{% if collector.data.unavailable_migrations is defined %}
50+
{% if collector.data.unavailable_migrations_count is defined %}
5151
{% set unavailable_migrations = collector.data.unavailable_migrations_count %}
5252
{% set new_migrations = collector.data.new_migrations|length %}
5353
{% set label = unavailable_migrations > 0 ? 'label-status-warning' : '' %}

0 commit comments

Comments
 (0)