Correct the OR operator. #5758

pull/5859/head
Akshay Joshi 2023-02-10 12:38:53 +05:30
parent 428e432732
commit b0846908da
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}