From 22cc5a7be5eb7561ed8df6c0da48ec20fa8d6b81 Mon Sep 17 00:00:00 2001 From: Matt Caimi Date: Fri, 24 Feb 2023 09:23:13 -0500 Subject: [PATCH] formatting --- .../mobile-location-modal-questions.vue | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue index b4f9a1d2e..2d95f00a4 100644 --- a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue +++ b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue @@ -63,7 +63,7 @@ export default { internalModel: this.copyModel(this.modelValue), displayInvalidZipAlert: false, modalName: "MobileLocationModalWidget", - mobileFee: "", + mobileFee: "", }; }, props: { @@ -78,11 +78,11 @@ export default { zipCode: "", }, isVehicleProtected: null, - serviceZipCode: "" - }), + serviceZipCode: "", + }), }, isZipServiceableMobile: Boolean, - isZipServiceableInShop: Boolean, + isZipServiceableInShop: Boolean, linkWidgetName: String, modalWidgetName: String, alertNonServiceableZipWidgetName: String, @@ -91,7 +91,7 @@ export default { mounted() { this.getMobileFee().then((result) => { this.mobileFee = result; - }); + }); }, computed: { mobileLocationLinkPromptText() { @@ -140,7 +140,7 @@ export default { zipCode: modelToCopy.addressQuestions.zipCode, }, isVehicleProtected: modelToCopy.isVehicleProtected, - serviceZipCode: modelToCopy.serviceZipCode + serviceZipCode: modelToCopy.serviceZipCode, }; }, @@ -156,9 +156,9 @@ export default { if (!this.internalModel.serviceZipCode) { return ""; } - + const zipCodeData = await this.getZipCodeData(this.internalModel.serviceZipCode); - + // Get the Mobile Fee Part const mobileFeePart = await baseMixin.methods.dispatchStoreAction( storeActions.GET_MOBILE_FEE_PART, @@ -169,11 +169,11 @@ export default { // Get the Mobile Fee Part Price const pricingResults = await baseMixin.methods.dispatchStoreAction( storeActions.PRICE_ORDER_ITEMS, - { - availableLineItems: [mobileFeePart.data], + { + availableLineItems: [mobileFeePart.data], serviceZipCode: zipCodeData.zipCode, - zipCodeCtu: zipCodeData.zipCodeCtu - }, + zipCodeCtu: zipCodeData.zipCodeCtu, + }, false ); @@ -220,14 +220,14 @@ export default { this.displayInvalidZipAlert = true; } else { // Update the page level model - this.internalModel.serviceZipCode = this.internalModel.addressQuestions.zipCode; + this.internalModel.serviceZipCode = this.internalModel.addressQuestions.zipCode; this.$emit("update:modelValue", this.internalModel); - + // Emit the update service zip code information to the parent to update the service zipcode details this.$emit("updated-zip-code", { zipCode: this.internalModel.addressQuestions.zipCode, state: zipCodeData.state, - isServiceable: zipCodeData.isServiceable + isServiceable: zipCodeData.isServiceable, }); this.closeModal(); @@ -241,7 +241,7 @@ export default { "modelValue.serviceZipCode": { async handler(newValue) { this.mobileFee = await this.getMobileFee(newValue); - }, + }, }, }, components: {