From 10d7e74db72a394400da94cc7a8625d17e4c2c1b Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Sat, 19 Sep 2020 00:52:05 -0600 Subject: [PATCH] Update formatting of game login selection --- src/components/GameCode.vue | 75 ++++++++++++++++++++++++------------- 1 file changed, 49 insertions(+), 26 deletions(-) diff --git a/src/components/GameCode.vue b/src/components/GameCode.vue index 19dd091..4d2b0a1 100644 --- a/src/components/GameCode.vue +++ b/src/components/GameCode.vue @@ -1,20 +1,25 @@ @@ -24,28 +29,46 @@ export default { components: {}, data() {return { game_code: ``, + username: ``, }}, - methods: { - submit_game_code() { - if (this.game_code.length > 0) { - this.$emit(`set-game-code`, this.game_code); - } else { - alert(`Invalid game code. Must have a code`) - } - }, - }, + methods: {}, } + \ No newline at end of file