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>
|
||||
</div>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<button>Start Game</button>
|
||||
<div v-if="is_host" class="controls">
|
||||
<button v-if="is_host">Start Game</button>
|
||||
<br>
|
||||
<button>{{ is_host ? `Kill` : `Leave` }} Game</button>
|
||||
<button>Kill Game</button>
|
||||
</div>
|
||||
<div v-else class="controls">
|
||||
<button>Leave Game</button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue