File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,6 @@ const addPlayer = () => {
5050 <Input
5151 id =" new-player-input"
5252 ref =" newPlayerInput"
53- label =" Spieler"
54- placeholder =" John"
5553 :autofocus =" true"
5654 required
5755 v-model =" newPlayerName"
@@ -63,16 +61,12 @@ const addPlayer = () => {
6361 </div >
6462 </form >
6563
66- <template v-if =" Object .keys (game .round ).length > 0 " >
67- <Label class =" mt-3" >Spieler</Label >
68-
69- <div v-for =" (_, p) in game.round" :key =" p" class =" grid gap-2 grid-cols-[1fr_auto] items-center" >
70- <span >{{ p }}</span >
71- <Button size =" icon" @click.prevent =" game.removePlayer(p)" >
72- <X />
73- </Button >
74- </div >
75- </template >
64+ <div v-for =" (_, p) in game.round" :key =" p" class =" grid gap-2 grid-cols-[1fr_auto] items-center" >
65+ <span >{{ p }}</span >
66+ <Button size =" icon" @click.prevent =" game.removePlayer(p)" >
67+ <X />
68+ </Button >
69+ </div >
7670 </div >
7771 </CardContent >
7872 <CardFooter class =" grid gap-2" >
You can’t perform that action at this time.
0 commit comments