Updated streak-percentile to count all players from the last 30 days (or

all active streaks if players have a greater than 30 day streak)
This commit is contained in:
George Powell
2026-02-22 00:25:08 -05:00
parent 3036264d44
commit bd36f29419
2 changed files with 42 additions and 12 deletions

View File

@@ -119,8 +119,7 @@
{/if}
{#if streakPercentile !== null}
<p class="text-sm mt-4 text-gray-700 font-triodion">
Only {streakPercentile}% of players have a streak of {streak}
or greater.
{streakPercentile <= 50 ? "Only " : ""}{streakPercentile}% of players have a streak of {streak} or greater.
</p>
{/if}
{/if}