From dc013c7c6ec5c7d957385c23d02166c1f3fcddab Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Sat, 12 Dec 2020 16:48:57 -0700 Subject: [PATCH] Change back to per-instance data object because Vue was yelling at me about it. --- web/src/components/GameBoard.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/GameBoard.vue b/web/src/components/GameBoard.vue index 08b61ce..a79ec54 100644 --- a/web/src/components/GameBoard.vue +++ b/web/src/components/GameBoard.vue @@ -76,12 +76,12 @@ export default { name: `GameBoard`, components: {}, - data: { + data() {return { answers: { team_1: [ ``, ``, ``, ``, ``, ``, ``, `` ], team_2: [ ``, ``, ``, ``, ``, ``, ``, `` ], }, - }, + }}, computed: { teamID() { return this.$store.getters.teamName.replace(/\s/g, `-`).toLowerCase();