Correct the OR operator. #5758
parent
428e432732
commit
b0846908da
|
@ -20,7 +20,7 @@
|
||||||
{% endif %}label: "{{ item.label }}", applies: ["{{ key.lower() }}"],
|
{% endif %}label: "{{ item.label }}", applies: ["{{ key.lower() }}"],
|
||||||
priority: {{ item.priority }},
|
priority: {{ item.priority }},
|
||||||
enable: "{{ item.enable }}",
|
enable: "{{ item.enable }}",
|
||||||
{% if item.checked is defined %}checked: {% if (item.checked || item.name == 'mnu_lock_'+current_ui_lock) %}true{% else %}false{% endif %},
|
{% if item.checked is defined %}checked: {% if (item.checked or item.name == 'mnu_lock_'+current_ui_lock) %}true{% else %}false{% endif %},
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.below is defined %}below: {% if item.below %}true{% else %}false{% endif %},
|
{% if item.below is defined %}below: {% if item.below %}true{% else %}false{% endif %},
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue