From 2363304f8392413e4da1daa2880224fd3814a8ea Mon Sep 17 00:00:00 2001 From: Stan Runge Date: Mon, 9 Mar 2026 20:32:15 +0100 Subject: [PATCH] remove personal teams from leaderboard --- src/routes/(app)/leaderboard/+page.server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/(app)/leaderboard/+page.server.ts b/src/routes/(app)/leaderboard/+page.server.ts index 03c68ce..2fe176a 100644 --- a/src/routes/(app)/leaderboard/+page.server.ts +++ b/src/routes/(app)/leaderboard/+page.server.ts @@ -65,6 +65,7 @@ export const load: PageServerLoad = async () => { with: { members: true } }); if (!t) return null; + if (t.isPersonal) return null; // Skip personal teams // Count total matches for this team const totalMatches = await db