remove personal teams from leaderboard
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user