|
|
|
@ -1377,7 +1377,7 @@ defer { |
|
|
|
guard let tournamentStore = self.tournamentStore else { return } |
|
|
|
guard let tournamentStore = self.tournamentStore else { return } |
|
|
|
|
|
|
|
|
|
|
|
let teams = (0..<count).map { _ in |
|
|
|
let teams = (0..<count).map { _ in |
|
|
|
let team = TeamRegistration(tournament: id) |
|
|
|
let team = TeamRegistration(tournament: id, registrationDate: Date()) |
|
|
|
team.setWeight(from: [], inTournamentCategory: self.tournamentCategory) |
|
|
|
team.setWeight(from: [], inTournamentCategory: self.tournamentCategory) |
|
|
|
return team |
|
|
|
return team |
|
|
|
} |
|
|
|
} |
|
|
|
|