fix randomu unique index not saving

newoffer2025
Raz 6 months ago
parent 0fe8728a8a
commit ecdc46a968
  1. 1
      PadelClub/Views/Team/EditingTeamView.swift

@ -413,6 +413,7 @@ struct EditingTeamView: View {
} }
.onChange(of: uniqueRandomIndex) { .onChange(of: uniqueRandomIndex) {
if canSaveWithoutWarning() { if canSaveWithoutWarning() {
team.uniqueRandomIndex = uniqueRandomIndex
_save() _save()
} }
} }

Loading…
Cancel
Save