Fix group not showing as completed Closes #1672

This commit is contained in:
Kalle
2024-02-25 10:55:52 +02:00
parent 575d9dc6bc
commit 29bc4f1b1b

View File

@@ -24,6 +24,8 @@ export function RoundRobinBracket({ bracket }: { bracket: BracketType }) {
return matches.every(
(match) =>
!match.opponent1 ||
!match.opponent2 ||
match.opponent1?.result === "win" ||
match.opponent2?.result === "win",
);