From 2f5cb164cbb9ad2c6ab1242053f1f23fdb34f6f2 Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 31 Oct 2025 19:12:25 +0100 Subject: [PATCH] fix: xp leaderboards missing first column --- frontend/src/html/pages/leaderboards.html | 1 + frontend/src/ts/pages/leaderboards.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/src/html/pages/leaderboards.html b/frontend/src/html/pages/leaderboards.html index 161bdd499..04b2e8eb5 100644 --- a/frontend/src/html/pages/leaderboards.html +++ b/frontend/src/html/pages/leaderboards.html @@ -69,6 +69,7 @@ + # name xp gained diff --git a/frontend/src/ts/pages/leaderboards.ts b/frontend/src/ts/pages/leaderboards.ts index b474c6de2..54aec813a 100644 --- a/frontend/src/ts/pages/leaderboards.ts +++ b/frontend/src/ts/pages/leaderboards.ts @@ -503,6 +503,7 @@ function buildWeeklyTableRow( } element.dataset["uid"] = entry.uid; element.innerHTML = ` + ${ entry.rank === 1 ? '' : entry.rank }