From 2f48c35a6fa642546971b0f88f21e5c34828b017 Mon Sep 17 00:00:00 2001 From: rakesh Date: Fri, 10 Feb 2023 12:07:54 +0530 Subject: [PATCH] fixes --- src/components/gate/ResetPasswordComponent.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/gate/ResetPasswordComponent.vue b/src/components/gate/ResetPasswordComponent.vue index 0f9061b..1d2f179 100644 --- a/src/components/gate/ResetPasswordComponent.vue +++ b/src/components/gate/ResetPasswordComponent.vue @@ -7,7 +7,7 @@ {{resetPasswordError}} {{resetPasswordMessage}} - + !!v || "Email Id is required", v => /.+@.+\..+/.test(v) || "Email Id must be valid" - ] + ], + emailTextfield:false + }), computed: { ...mapFields([ @@ -120,7 +122,11 @@ export default { }, created() { this.token = this.$route.params.token; - this.email = this.$route.params.emailId; + this.email = this.$route.params.emailId; + if(!this.email || this.email=='null' || this.email== 'undefined' ) + { + this.emailTextfield =true; + } let userIdAndToken = { token : this.token, email:this.email