Add alert for no game code
This commit is contained in:
parent
3c45236131
commit
3683ee09a2
1 changed files with 2 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ export default {
|
||||||
if (this.game_code.length > 0) {
|
if (this.game_code.length > 0) {
|
||||||
alert('The game code you have entered is invalid.');
|
alert('The game code you have entered is invalid.');
|
||||||
this.game_code = ``;
|
this.game_code = ``;
|
||||||
|
} else {
|
||||||
|
alert(`Please a enter game code before proceeding.`)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue