0
0
Fork 0

Fix the isGuesser/isWriter properties

This commit is contained in:
Oliver-Akins 2021-01-02 13:33:39 -07:00
parent db2fbc5c1e
commit 2a18c59f1a

View file

@ -29,10 +29,10 @@ export default {
}, },
computed: { computed: {
isGuesser() { isGuesser() {
return this.$store.state.role === this.$store.state.guesser_name; return this.$store.state.role === `guesser`;
}, },
isWriter() { isWriter() {
return this.$store.state.role === this.$store.state.writer_name; return this.$store.state.role === `writer`;
}, },
objectChosen() { objectChosen() {
return this.$store.state.chosen_object != null; return this.$store.state.chosen_object != null;