should be integer, not string value (top 10 20 golfer)

This commit is contained in:
Justin 2023-05-12 17:07:16 +08:00 committed by GitHub
parent 19b0202c9e
commit 0b5c1a85b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6236,8 +6236,8 @@
</div> </div>
<div class="col-auto"> <div class="col-auto">
<select id="golf-ranking-number" class="form-select"> <select id="golf-ranking-number" class="form-select">
<option {%if team_stats.top20 == '10' %} selected {% endif %}>Top 10</option> <option {%if team_stats.top20 == 10 %} selected {% endif %}>Top 10</option>
<option {%if team_stats.top20 == '20' %} selected {% endif %}>Top 20</option> <option {%if team_stats.top20 == 20 %} selected {% endif %}>Top 20</option>
</select> </select>
</div> </div>
<div class="col-auto"> <div class="col-auto">