Add an emit to remove the alert once the view changes
This commit is contained in:
parent
6d9d5e0e87
commit
6178800ce4
1 changed files with 1 additions and 0 deletions
|
|
@ -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`);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue