Bearbeiten und Löschen von Matches #171

Merged
sneeex merged 64 commits from feature/120-bearbeiten-und-loeschen-von-matches into development 2026-03-08 08:28:10 +00:00
Showing only changes of commit 0597b21ac1 - Show all commits

View File

@@ -231,7 +231,8 @@ class _CreateMatchViewState extends State<CreateMatchView> {
/// - A ruleset is selected AND /// - A ruleset is selected AND
/// - Either a group is selected OR at least 2 players are selected /// - Either a group is selected OR at least 2 players are selected
bool _enableCreateGameButton() { bool _enableCreateGameButton() {
return (selectedGroup != null || (selectedPlayers.length > 1)); return (selectedGroup != null ||
(selectedPlayers.length > 1) && selectedGameIndex != -1);
} }
// If a match was provied to the view, it updates the match in the database // If a match was provied to the view, it updates the match in the database