Update controls for host/players

This commit is contained in:
Oliver-Akins 2020-10-20 22:45:59 -06:00
parent 520aaee41e
commit 5968c71fff

View file

@ -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>