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"> <li class="dropdown">
<a class="dropdown-toggle btn btn-sm btn-create change-icon" <a class="dropdown-toggle btn btn-sm btn-create change-icon"
href="#" href="#"
@ -14,4 +15,5 @@
</a> </a>
{% endfor %} {% endfor %}
</div> </div>
</li> </li>
{% endif %}