mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 01:09: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 = [];
|
let colors = [];
|
||||||
|
|
||||||
{% for cat, menu in menus %}
|
{% 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 %}
|
{% endfor %}
|
||||||
|
|
||||||
{% set menuDefaultLinksColor = config('menu_default_links_color') %}
|
{% set menuDefaultLinksColor = config('menu_default_links_color') %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user