Fix error container at registration page always being displayed
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2020-02-28 22:08:16 +01:00
parent 8c82c2302f
commit 269b80e64e
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
<div class="notification is-info" v-if="loading">
Loading...
</div>
<div class="notification is-danger" v-if="error">
<div class="notification is-danger" v-if="errorMsg !== ''">
{{ errorMsg }}
</div>
</form>
@ -76,7 +76,7 @@
if (this.credentials.password2 !== this.credentials.password) {
this.loading = false
this.errorMsg = 'Passwords don\'t match'
this.errorMsg = 'Passwords don\'t match.'
return
}