Fixed match edit error with game
Some checks failed
Pull Request Pipeline / test (pull_request) Successful in 39s
Pull Request Pipeline / lint (pull_request) Failing after 46s

This commit is contained in:
2026-03-08 11:00:42 +01:00
parent 544e55c4fd
commit 84b8541822

View File

@@ -363,6 +363,7 @@ class _CreateMatchViewState extends State<CreateMatchView> {
final match = widget.matchToEdit!; final match = widget.matchToEdit!;
_matchNameController.text = match.name; _matchNameController.text = match.name;
selectedPlayers = match.players; selectedPlayers = match.players;
selectedGameIndex = 0;
if (match.group != null) { if (match.group != null) {
selectedGroup = match.group; selectedGroup = match.group;