chore: remove setting loading state in register component (#939)
Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/939 Reviewed-by: dpschen <dpschen@noreply.kolaente.de> Co-authored-by: konrad <k@knt.li> Co-committed-by: konrad <k@knt.li>
This commit is contained in:
parent
e831c3eb65
commit
b34213c301
1 changed files with 0 additions and 2 deletions
|
@ -131,12 +131,10 @@ export default {
|
||||||
}),
|
}),
|
||||||
methods: {
|
methods: {
|
||||||
async submit() {
|
async submit() {
|
||||||
this.$store.commit(LOADING, true)
|
|
||||||
this.errorMessage = ''
|
this.errorMessage = ''
|
||||||
|
|
||||||
if (this.credentials.password2 !== this.credentials.password) {
|
if (this.credentials.password2 !== this.credentials.password) {
|
||||||
this.errorMessage = this.$t('user.auth.passwordsDontMatch')
|
this.errorMessage = this.$t('user.auth.passwordsDontMatch')
|
||||||
this.$store.commit(LOADING, false)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue