fix settings-search

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-03-07 10:37:00 +01:00
parent 958e783e77
commit 3c20fe4202
5 changed files with 34 additions and 14 deletions

View File

@@ -8,7 +8,8 @@
<div class="card-body">
{% for id,setting in fields %}
{% if id != '_group' %}
{{ formfields.fieldrow(id, setting, false, (get_setting('system.hide_incompatible_settings') == '0')) }}
{% set isEm = em is defined and em == id %}
{{ formfields.fieldrow(id, setting, false, (get_setting('system.hide_incompatible_settings') == '0'), isEm) }}
{% endif %}
{% endfor %}
</div>