Update controls for host/players
This commit is contained in:
parent
520aaee41e
commit
5968c71fff
1 changed files with 6 additions and 3 deletions
|
|
@ -35,10 +35,13 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="controls">
|
<div v-if="is_host" class="controls">
|
||||||
<button>Start Game</button>
|
<button v-if="is_host">Start Game</button>
|
||||||
<br>
|
<br>
|
||||||
<button>{{ is_host ? `Kill` : `Leave` }} Game</button>
|
<button>Kill Game</button>
|
||||||
|
</div>
|
||||||
|
<div v-else class="controls">
|
||||||
|
<button>Leave Game</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue