Skip to content

Commit 408b3f5

Browse files
committed
chore: apply minor changes
1 parent 7f7abe4 commit 408b3f5

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

src/views/StartView.vue

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff 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">

0 commit comments

Comments
 (0)