From b34213c30188ffa27b7fcdd48cc07c8b84d3ac96 Mon Sep 17 00:00:00 2001 From: konrad Date: Tue, 2 Nov 2021 18:53:45 +0000 Subject: [PATCH] chore: remove setting loading state in register component (#939) Co-authored-by: kolaente Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/939 Reviewed-by: dpschen Co-authored-by: konrad Co-committed-by: konrad --- src/views/user/Register.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/views/user/Register.vue b/src/views/user/Register.vue index 39ef2b28..3b8ea297 100644 --- a/src/views/user/Register.vue +++ b/src/views/user/Register.vue @@ -131,12 +131,10 @@ export default { }), methods: { async submit() { - this.$store.commit(LOADING, true) this.errorMessage = '' if (this.credentials.password2 !== this.credentials.password) { this.errorMessage = this.$t('user.auth.passwordsDontMatch') - this.$store.commit(LOADING, false) return }