mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-25 16:59:21 +02:00
Fix if user removes the menu category
This commit is contained in:
parent
4e6aa0f262
commit
dbea69f314
@ -4,7 +4,9 @@
|
||||
let colors = [];
|
||||
|
||||
{% for cat, menu in menus %}
|
||||
last_id[{{ cat }}] = {{ last_id[cat] }};
|
||||
{% if config('menu_categories')[cat] is not empty %}
|
||||
last_id[{{ cat }}] = {{ last_id[cat] }};
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% set menuDefaultLinksColor = config('menu_default_links_color') %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user