Use correct game code rather than "undefined"
This commit is contained in:
parent
4a9d5cb533
commit
db464aa808
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ export default {
|
|||
return;
|
||||
};
|
||||
|
||||
history.replaceState(null, ``, `?game=${data.game_code}`);
|
||||
history.replaceState(null, ``, `?game=${this.game_code}`);
|
||||
|
||||
// Save the data in the store
|
||||
this.$store.commit(`playerList`, data.players);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue