Fix 0's showing in bracket after event

This commit is contained in:
Kalle (Sendou) 2022-01-23 10:40:04 +02:00
parent 25972a6f07
commit f67c51b379

View File

@ -458,7 +458,7 @@ function newParticipantsToBracketData(
result.push({
number: match.position,
participants: participants(),
score: participants().length > 1 ? [0, 0] : null,
score: participants().filter(Boolean).length > 1 ? [0, 0] : null,
});
}