Fix a bug where the default maximum spot age was not being applied on first access of the web UI

This commit is contained in:
Ian Renton
2026-08-28 07:52:15 +01:00
parent b9268dd4ca
commit b2719d2cd6
9 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
oninput="filtersUpdated();" style="width: 5em; display: inline-block;">
{% for a in web_ui_options["max_spot_age"] %}
<option value="{{a*60}}" {% if web_ui_options[
"max_spot_age_default"] == a*60 %}selected{% end %}>{{a}}</option>
"max_spot_age_default"] == a %}selected{% end %}>{{a}}</option>
{% end %}
</select>
minutes