From 44856c7f3a068c4a8eed7ade02a2f9c10a14e04d Mon Sep 17 00:00:00 2001 From: ogerly Date: Mon, 10 May 2021 17:05:52 +0200 Subject: [PATCH] Fix: Error message must disappear when retrying (for a moment if unsuccessful again) --- frontend/src/views/Pages/Login.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/Pages/Login.vue b/frontend/src/views/Pages/Login.vue index fb8bc1478..b04bce7b0 100755 --- a/frontend/src/views/Pages/Login.vue +++ b/frontend/src/views/Pages/Login.vue @@ -102,6 +102,8 @@ export default { }, methods: { async onSubmit() { + // error info ausschalten + this.loginfail = false const loader = this.$loading.show({ container: this.$refs.submitButton, }) @@ -118,10 +120,6 @@ export default { this.loginfail = true } }, - closeAlert() { - this.$loading.hide() - this.loginfail = false - }, }, }