From 573bc74cfadcd252d0c6cb533a64ea3279885e84 Mon Sep 17 00:00:00 2001 From: Andreas Knuth Date: Wed, 24 Jun 2026 16:24:44 -0500 Subject: [PATCH] colors --- app/components/Groups.tsx | 4 +++- app/globals.css | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/components/Groups.tsx b/app/components/Groups.tsx index de4729e..5a5ccfb 100644 --- a/app/components/Groups.tsx +++ b/app/components/Groups.tsx @@ -36,6 +36,8 @@ export default function Groups({ {tables.map((t) => { const live = liveMatchFor(t.group, matches); const liveIds = liveTeamIdsFor(t.group, matches); + const groupMatches = matches.filter((m) => m.group === t.group); + const groupComplete = groupMatches.length > 0 && groupMatches.every((m) => m.status === "FINISHED"); return (