Add missing punctuation
This commit is contained in:
parent
eb2a85399b
commit
c0a2c22691
1 changed files with 8 additions and 5 deletions
|
|
@ -3,6 +3,9 @@
|
||||||
<div class="recentQuestion" v-if="mostRecentQuestion">
|
<div class="recentQuestion" v-if="mostRecentQuestion">
|
||||||
{{ mostRecentQuestion }}
|
{{ mostRecentQuestion }}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="gameOver" v-else-if="gameOver">
|
||||||
|
<button>Go to Lobby</button>
|
||||||
|
</div>
|
||||||
<div class="hand" v-else>
|
<div class="hand" v-else>
|
||||||
<div
|
<div
|
||||||
class="card"
|
class="card"
|
||||||
|
|
@ -43,16 +46,16 @@ export default {
|
||||||
},
|
},
|
||||||
buttonLabel() {
|
buttonLabel() {
|
||||||
if (this.isGuesser) {
|
if (this.isGuesser) {
|
||||||
return this.$store.state.guesser_card_button
|
return this.$store.state.guesser_card_button;
|
||||||
} else if (this.isWriter) {
|
} else if (this.isWriter) {
|
||||||
return this.$store.state.writer_card_button
|
return this.$store.state.writer_card_button;
|
||||||
} else {
|
} else {
|
||||||
return `Unknown Role`
|
return `Unknown Role`;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
questions() {
|
questions() {
|
||||||
return this.$store.state.questions;
|
return this.$store.state.questions;
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
sendCard(cardIndex) {
|
sendCard(cardIndex) {
|
||||||
|
|
@ -74,7 +77,7 @@ export default {
|
||||||
};
|
};
|
||||||
|
|
||||||
this.$socket.client.emit(`SendCard`, data);
|
this.$socket.client.emit(`SendCard`, data);
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if (this.isGuesser) {
|
if (this.isGuesser) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue