Add answers object to reset commit.
This commit is contained in:
parent
cecfddfdee
commit
8fcc85dfeb
1 changed files with 4 additions and 0 deletions
|
|
@ -76,6 +76,10 @@ export default new Vuex.Store({
|
|||
state.questions = [];
|
||||
state.game_code = null;
|
||||
state.players = [];
|
||||
state.answers = {
|
||||
team_1: new Array(8).fill(``),
|
||||
team_2: new Array(8).fill(``),
|
||||
};
|
||||
},
|
||||
player(state, data) {
|
||||
if (data.name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue