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