0
0
Fork 0

Add missing punctuation

This commit is contained in:
Oliver-Akins 2021-01-07 16:29:08 -07:00
parent eb2a85399b
commit c0a2c22691

View file

@ -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) {