commit 6965576a465c343aad1a4b6abd828f0841db5107
parent 7a9b8e3ff4e6520c3f7f9f48a9b5abc6b5d4b7eb
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Sat, 28 Sep 2024 17:21:02 +0200
fix(leaderboard): new heat session check
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/frontend/Leaderboard.jsx b/src/frontend/Leaderboard.jsx
@@ -426,7 +426,7 @@ function Leaderboard({session}) {
leaderboard={leaderboard}
heatSelection={heatSelection}
rankingComp={rankingComp} />
- {session ? <NewHeatForm
+ {session.auth ? <NewHeatForm
leaderboard={leaderboard}
rankingComp={rankingComp}
selectHeatRef={selectHeatRef}