|
|
|
|
@ -154,9 +154,13 @@ struct TournamentView: View { |
|
|
|
|
|
|
|
|
|
#if DEBUG |
|
|
|
|
Button { |
|
|
|
|
DataStore.shared.copyToLocalServer(tournament: self.tournament) |
|
|
|
|
do { |
|
|
|
|
try self.tournament.payIfNecessary() |
|
|
|
|
} catch { |
|
|
|
|
Logger.error(error) |
|
|
|
|
} |
|
|
|
|
} label: { |
|
|
|
|
Label("Copier sur serveur local", systemImage: "rectangle.portrait.and.arrow.right") |
|
|
|
|
Label("Payer le tournoi", systemImage: "dollarsign.circle.fill") |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|