Use the provided message and not a hardcoded value
This commit is contained in:
parent
f0f3032465
commit
0a24c009ad
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ export default {
|
||||||
this.handleError(data);
|
this.handleError(data);
|
||||||
} else {
|
} else {
|
||||||
this.alert = {
|
this.alert = {
|
||||||
message: `The game has been ended by the host.`,
|
message: data.message,
|
||||||
type: `info`,
|
type: `info`,
|
||||||
};
|
};
|
||||||
this.$store.commit(`resetState`);
|
this.$store.commit(`resetState`);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue