not display flash menu if menu is empty

This commit is contained in:
Mathieu Jaumotte 2022-07-11 17:23:34 +02:00
parent 38deaf6f36
commit a42d7231d9

View File

@ -1,3 +1,4 @@
{% if menus|length > 0 %}
<li class="dropdown">
<a class="dropdown-toggle btn btn-sm btn-create change-icon"
href="#"
@ -14,4 +15,5 @@
</a>
{% endfor %}
</div>
</li>
</li>
{% endif %}