mirror of
https://github.com/romancm/gamebrary
synced 2025-02-17 11:38:24 +00:00
set default error message when user is not available
This commit is contained in:
parent
89410bb687
commit
043d23d919
1 changed files with 2 additions and 0 deletions
|
@ -125,6 +125,8 @@ export default {
|
|||
|
||||
this.available = await this.$store.dispatch('CHECK_PROFILE_USERNAME_AVAILABILITY', userName);
|
||||
|
||||
this.errorMessage = this.available ? null : 'User name not available';
|
||||
|
||||
this.loading = false;
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue