Related to #4
This commit is contained in:
@@ -27,9 +27,17 @@ function killErika() {
|
|||||||
<div class="games-list-zone">
|
<div class="games-list-zone">
|
||||||
<div v-for="g in goStore.lobby?.games">
|
<div v-for="g in goStore.lobby?.games">
|
||||||
<button v-if="g" @click="join_game(g.uuid)">
|
<button v-if="g" @click="join_game(g.uuid)">
|
||||||
started:{{ g.started }}
|
<template v-if="!g.started">
|
||||||
ended:{{ g.ended }}
|
JOIN
|
||||||
players:<span v-for="p in g.players">{{ p.username }},</span>
|
</template>
|
||||||
|
<template v-if="g.started && !g.ended">
|
||||||
|
SPECTATE
|
||||||
|
</template>
|
||||||
|
<template v-if="g.started && g.ended">
|
||||||
|
GAME ENDED
|
||||||
|
</template>
|
||||||
|
<br>
|
||||||
|
current players:<br><span v-for="p in g.players">{{ p.username }},</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user