fixed display bug when switching between professional and standard without saving in between

This commit is contained in:
Neythen Treloar
2022-02-24 17:05:37 +00:00
parent ff4aa4376f
commit e572fb5142
4 changed files with 15 additions and 25 deletions

View File

@@ -150,7 +150,7 @@
<select id="inputDisplayFormat" class="form-select">
<option>Standard Scrolling</option>
<option>Professional two rows</option>
<option>Static display</option>
</select>
</div>
<div class="col-auto">
@@ -212,17 +212,11 @@
class="display-features-list text-dark"
>
{%if not professional%}
{% for f in currently_displaying %}
<li>{{f}}</li>
{% endfor%}
{%endif%}
{%if professional%}
{% for f in currently_displaying[0] %}
<li>{{f}}</li>
{% endfor%}
{%endif%}
{% for f in currently_displaying[0] %}
<li>{{f}}</li>
{% endfor%}
</ul>