feat(tournament): enable external participation in tournaments
- Updated tournamentService to allow external participants by setting allowsExternal to true. - Adjusted frontend TournamentTab component to reflect the change, enabling external participation for mini championships.
This commit is contained in:
@@ -739,7 +739,7 @@ class TournamentService {
|
||||
numberOfGroups: 1,
|
||||
advancingPerGroup: 1,
|
||||
winningSets: sets,
|
||||
allowsExternal: false,
|
||||
allowsExternal: true,
|
||||
miniChampionshipYear: Y
|
||||
}, { transaction });
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<TournamentTab :allowsExternal="true" />
|
||||
</div>
|
||||
<div v-else-if="activeTab === 'mini'">
|
||||
<TournamentTab :allowsExternal="false" :isMiniChampionship="true" />
|
||||
<TournamentTab :allowsExternal="true" :isMiniChampionship="true" />
|
||||
</div>
|
||||
<div v-else-if="activeTab === 'official'">
|
||||
<OfficialTournaments />
|
||||
|
||||
Reference in New Issue
Block a user