remove personal teams from leaderboard

This commit is contained in:
2026-03-09 20:32:15 +01:00
parent 6b416dce31
commit 2363304f83

View File

@@ -65,6 +65,7 @@ export const load: PageServerLoad = async () => {
with: { members: true } with: { members: true }
}); });
if (!t) return null; if (!t) return null;
if (t.isPersonal) return null; // Skip personal teams
// Count total matches for this team // Count total matches for this team
const totalMatches = await db const totalMatches = await db