Skip to content

Commit

Permalink
fix missing team field for joining team for solo game
Browse files Browse the repository at this point in the history
  • Loading branch information
istar410 committed Oct 17, 2024
1 parent 3f057a5 commit 2f7390b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/TournamentRegister.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const view_password = ref<boolean>(false);
/>
</FormField>
<FormField
v-else-if="soloGame"
v-else-if="create && soloGame"
v-slot="context"
:validations="v$.name_in_game"
class="flex flex-col text-xl"
Expand Down Expand Up @@ -243,8 +243,9 @@ const view_password = ref<boolean>(false);
</option>
</select>
</FormField>
<div v-if="create && soloGame"/> <!-- for padding -->
<FormField
v-if="!soloGame"
v-else
v-slot="context"
:validations="v$.name_in_game"
class="flex flex-col text-xl"
Expand All @@ -264,7 +265,6 @@ const view_password = ref<boolean>(false);
@blur="v$.name_in_game.$touch"
/>
</FormField>
<div v-else/> <!-- for padding -->
<FormField
v-slot="context"
:validations="v$.password"
Expand Down

0 comments on commit 2f7390b

Please sign in to comment.