Change back to per-instance data object because Vue was yelling at me about it.
This commit is contained in:
parent
4b5302d24c
commit
dc013c7c6e
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue