From 6178800ce479c95f869fec7d25ecc72c749c10e6 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Fri, 2 Oct 2020 17:54:50 -0600 Subject: [PATCH] Add an emit to remove the alert once the view changes --- src/views/GameCode.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/GameCode.vue b/src/views/GameCode.vue index ff81f38..b11820a 100644 --- a/src/views/GameCode.vue +++ b/src/views/GameCode.vue @@ -63,6 +63,7 @@ export default { }; sessionStorage.setItem(`game-code`, this.game_code); sessionStorage.setItem(`is-host`, false); + this.$emit(`alert`, { message: ``, classes: [] }) this.$emit(`go-to`, `lobby`); } }