0
0
Fork 0

Only show discard hand button to mediums

This commit is contained in:
Oliver-Akins 2020-12-16 18:12:43 -07:00
parent 63037a78c3
commit d5235942db

View file

@ -3,7 +3,9 @@
<game-board />
<player-hand />
<team-reminder />
<discard-hand />
<discard-hand
v-if="isGuesser"
/>
</div>
</template>
@ -21,7 +23,11 @@ export default {
"player-hand": PlayerHand,
"game-board": GameBoard,
},
computed: {},
computed: {
isGuesser() {
return this.$store.state.role === this.$store.state.guesser_name;
},
},
methods: {},
}
</script>