Fix the isGuesser/isWriter properties
This commit is contained in:
parent
db2fbc5c1e
commit
2a18c59f1a
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue