Adjust how the removal message disappears.
This commit is contained in:
parent
17bec179cd
commit
88010f90a6
1 changed files with 1 additions and 7 deletions
|
|
@ -134,13 +134,7 @@ export default {
|
|||
message: `You have been removed from the game.`,
|
||||
classes: [`error`],
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$emit(`alert`, {
|
||||
message: ``,
|
||||
classes: [],
|
||||
});
|
||||
this.$emit(`go-to`, `game-type`);
|
||||
}, 2000);
|
||||
this.$emit(`go-to`, `game-type`);
|
||||
};
|
||||
this.players = this.players.filter(x => x !== data.player);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue