Skip to content

Commit 7292d45

Browse files
committed
fix: fix crash on homepage for non-bonus-awarding rankings
1 parent 0d38162 commit 7292d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/home.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
</div>
9191
<p class="mb-0 text-center"><b>Bonus points are being awarded!</b><br>{{ rankingBonusPoints[rankingType.type].perHour | thousands }} bonus points are awarded to #1 <i>every hour</i> during the final week of the season.</p>
9292
</div>
93-
{% elif bonusPointsAwarding.startTime %}
93+
{% elif bonusPointsAwarding.startTime and rankingBonusPoints[rankingType.type] %}
9494
<p class="p-4 pt-0 mb-0"><small>{{ rankingBonusPoints[rankingType.type].perHour | thousands }} bonus points will be awarded to #1 <i>every hour</i> during the <i>final week of the season {{ bonusPointsAwarding.startTime | timeFromNow }}</i>!</small></p>
9595
{% endif %}
9696
<table class="table coalition-colored mb-0">

0 commit comments

Comments
 (0)