mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-28 06:08:13 -05:00
Fix DE standings crash when not enough teams
This commit is contained in:
@@ -543,6 +543,8 @@ class DoubleEliminationBracket extends Bracket {
|
||||
}
|
||||
|
||||
get standings(): Standing[] {
|
||||
if (!this.enoughTeams) return [];
|
||||
|
||||
const losersGroupId = this.data.group.find((g) => g.number === 2)?.id;
|
||||
|
||||
const teams: { id: number; lostAt: number }[] = [];
|
||||
|
||||
Reference in New Issue
Block a user