From 393147292dc93f711fb7f70a6b9c3752495f5464 Mon Sep 17 00:00:00 2001 From: hiteshkumar87 Date: Mon, 19 May 2025 22:03:44 +0530 Subject: [PATCH] CASH-712 hide mobile address question for Inshop and drop off --- src/layouts/service-location/service-location.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 76e42bad9..28d3c5d94 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -755,13 +755,13 @@ export default { setMobileLocationInValid(isMobileLocationInValid) { this.isMobileAddressValid = !isMobileLocationInValid; }, - displayMobileAddressQuestion() { + displayMobileAddressQuestion(openMobileLocation) { var mobileLocationQuestionsRef = this.$refs.mobileLocationQuestions; var isMobileAddressComplete = mobileLocationQuestionsRef?.isMobileAddressComplete; if (isMobileAddressComplete?.()) { mobileLocationQuestionsRef.isMobileLocationOpened = false; } else { - mobileLocationQuestionsRef.isMobileLocationOpened = true; + mobileLocationQuestionsRef.isMobileLocationOpened = openMobileLocation; } }, getIsMobileLocationOpened() { @@ -791,9 +791,10 @@ export default { this.selectedProvider = new Provider( this.shopProviderData.mobileProviderNumber ); - this.displayMobileAddressQuestion(); + this.displayMobileAddressQuestion(true); } else { this.selectedProvider = new Provider(); + this.displayMobileAddressQuestion(false); } }, },