From 3f057a589aee6df01ddcff346ca6184bd5ace3d0 Mon Sep 17 00:00:00 2001 From: Arthur Branchu-Harel Date: Wed, 16 Oct 2024 19:06:43 +0200 Subject: [PATCH 1/2] use player name as team name when solo game --- src/components/TeamCard.vue | 6 ++++- src/components/TournamentTeams.vue | 3 ++- src/stores/tournament.store.ts | 3 +++ src/views/TournamentRegister.vue | 35 +++++++++++++++++++++++++----- 4 files changed, 40 insertions(+), 7 deletions(-) diff --git a/src/components/TeamCard.vue b/src/components/TeamCard.vue index d3aac12..726a974 100755 --- a/src/components/TeamCard.vue +++ b/src/components/TeamCard.vue @@ -10,6 +10,7 @@ storeToRefs(useUserStore()); defineProps<{ team: Team; + soloGame?: boolean; }>(); @@ -19,7 +20,10 @@ defineProps<{ {{ team.name }} Logo validé -