From e3bf47679e040df50773ebc8a89ef62db4040ec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Sat, 27 Feb 2021 17:02:55 +0100 Subject: [PATCH] Implement e-mail resend functionality --- .../ComponentSlider/ComponentSlider.vue | 2 +- .../RegistrationItemCreateUserAccount.vue | 2 +- .../RegistrationItemEnterEmail.vue | 192 +++++++++++------- .../RegistrationItemEnterInvite.vue | 22 +- .../Registration/RegistrationSlider.story.js | 4 +- .../Registration/RegistrationSlider.vue | 61 ++++-- 6 files changed, 177 insertions(+), 106 deletions(-) diff --git a/webapp/components/ComponentSlider/ComponentSlider.vue b/webapp/components/ComponentSlider/ComponentSlider.vue index eb9918565..d01520858 100644 --- a/webapp/components/ComponentSlider/ComponentSlider.vue +++ b/webapp/components/ComponentSlider/ComponentSlider.vue @@ -64,7 +64,7 @@ export default { if (this.sliderData.sliders[this.sliderIndex].button.slotOnNextClick) { success = await this.sliderData.sliders[this.sliderIndex].button.slotOnNextClick() } - // this.sliderData.sliders[this.sliderIndex].button.callback() + success = success && this.sliderData.sliders[this.sliderIndex].button.callback(success) if (success && this.sliderIndex < this.sliderData.sliders.length - 1) { this.sliderData.sliderSelectorCallback(this.sliderIndex + 1) } diff --git a/webapp/components/Registration/RegistrationItemCreateUserAccount.vue b/webapp/components/Registration/RegistrationItemCreateUserAccount.vue index 1bc8c5a39..ed8ed8576 100644 --- a/webapp/components/Registration/RegistrationItemCreateUserAccount.vue +++ b/webapp/components/Registration/RegistrationItemCreateUserAccount.vue @@ -289,7 +289,7 @@ export default { } // Wolle validate in backend // toaster - this.sliderData.setSliderValuesCallback(this.valid, { collectedInputData: values }, {}) + this.sliderData.setSliderValuesCallback(this.valid, { collectedInputData: values }) }, async handleInput() { this.sendValidation() diff --git a/webapp/components/Registration/RegistrationItemEnterEmail.vue b/webapp/components/Registration/RegistrationItemEnterEmail.vue index ae9431425..f15448a23 100644 --- a/webapp/components/Registration/RegistrationItemEnterEmail.vue +++ b/webapp/components/Registration/RegistrationItemEnterEmail.vue @@ -1,38 +1,38 @@