0
0
Fork 0

Change back to per-instance data object because Vue was yelling at me about it.

This commit is contained in:
Oliver-Akins 2020-12-12 16:48:57 -07:00
parent 4b5302d24c
commit dc013c7c6e

View file

@ -76,12 +76,12 @@
export default { export default {
name: `GameBoard`, name: `GameBoard`,
components: {}, components: {},
data: { data() {return {
answers: { answers: {
team_1: [ ``, ``, ``, ``, ``, ``, ``, `` ], team_1: [ ``, ``, ``, ``, ``, ``, ``, `` ],
team_2: [ ``, ``, ``, ``, ``, ``, ``, `` ], team_2: [ ``, ``, ``, ``, ``, ``, ``, `` ],
}, },
}, }},
computed: { computed: {
teamID() { teamID() {
return this.$store.getters.teamName.replace(/\s/g, `-`).toLowerCase(); return this.$store.getters.teamName.replace(/\s/g, `-`).toLowerCase();