Fix highscores if there is only 1 record

This commit is contained in:
slawkens
2023-07-19 11:57:26 +02:00
parent 714476bf29
commit ddb093ec48
2 changed files with 1 additions and 2 deletions

View File

@@ -48,7 +48,7 @@
{% endif %}
</tr>
{% if totalRows < 1 %}
{% if highscores|length < 1 %}
<tr bgcolor="{{ config('darkborder') }}"><td colspan="100%">No records yet.</td></tr>
{% else %}
{% set row = 0 %}