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 (