feat(tournament): enhance tournament creation with group settings and winning sets logic
- Updated the tournamentService to set default values for tournament type, number of groups, and advancing participants for group tournaments. - Adjusted the frontend logic to dynamically determine the number of winning sets based on the mini championship year, ensuring proper configuration for tournaments.
This commit is contained in:
@@ -743,7 +743,9 @@ class TournamentService {
|
||||
name: tournamentName,
|
||||
date,
|
||||
clubId: +clubId,
|
||||
type: '',
|
||||
type: 'groups',
|
||||
numberOfGroups: 1,
|
||||
advancingPerGroup: 1,
|
||||
winningSets: sets,
|
||||
allowsExternal: false,
|
||||
miniChampionshipYear: Y
|
||||
|
||||
Reference in New Issue
Block a user