From 6d2d77b5037d314db2f7a06141146bc9753a3bf7 Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Mon, 25 Aug 2025 10:13:21 +0200 Subject: [PATCH] fix issue with groupstage possible crash when calculating score add the ability to always create a final table structure --- PadelClub/Views/Tournament/Screen/TableStructureView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PadelClub/Views/Tournament/Screen/TableStructureView.swift b/PadelClub/Views/Tournament/Screen/TableStructureView.swift index 43805d5..652f4d9 100644 --- a/PadelClub/Views/Tournament/Screen/TableStructureView.swift +++ b/PadelClub/Views/Tournament/Screen/TableStructureView.swift @@ -265,7 +265,7 @@ struct TableStructureView: View { } } - if tournament.rounds().isEmpty, tournament.state() == .build { + if tournament.rounds().isEmpty { Section { RowButtonView("Ajouter un tableau", role: .destructive) { tournament.buildBracket(minimalBracketTeamCount: 4)