|
|
|
@ -2481,6 +2481,16 @@ defer { |
|
|
|
self.tournamentStore?.rounds.addOrUpdate(contentOfs: allRounds) |
|
|
|
self.tournamentStore?.rounds.addOrUpdate(contentOfs: allRounds) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public func formatSummary() -> String { |
|
|
|
|
|
|
|
var label = [String]() |
|
|
|
|
|
|
|
if groupStageCount > 0 { |
|
|
|
|
|
|
|
label.append("Poules " + groupStageMatchFormat.format) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
label.append("Tableau " + matchFormat.format) |
|
|
|
|
|
|
|
label.append("Classement " + loserBracketMatchFormat.format) |
|
|
|
|
|
|
|
return label.joined(separator: ", ") |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// MARK: - |
|
|
|
// MARK: - |
|
|
|
|
|
|
|
|
|
|
|
func insertOnServer() throws { |
|
|
|
func insertOnServer() throws { |
|
|
|
|