From 040f3490e499a15cb8b4a362869e0f7b7d7ee787 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Mon, 6 Feb 2023 13:48:05 -0500 Subject: [PATCH] Prettified --- src/digital-components/modal/modal.vue | 6 +++--- .../mobile-location-modal-questions.vue | 2 +- .../service-zip-modal-question.vue | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/digital-components/modal/modal.vue b/src/digital-components/modal/modal.vue index b90449ffb..89ff1f8ed 100644 --- a/src/digital-components/modal/modal.vue +++ b/src/digital-components/modal/modal.vue @@ -60,9 +60,9 @@ export default { async validateAndEmit() { const validationResult = await this.modalForm.validate(); if (validationResult.valid) { - this.$emit('footer-button-event'); - } - + this.$emit("footer-button-event"); + } + this.resetButtonStyle(); }, resetButtonStyle() { 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 fc898fdfb..5dab5edf0 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 @@ -123,7 +123,7 @@ export default { this.$refs.mobileLocationModal.closeModal(); }, async setMobileLocation() { - this.closeModal(); + this.closeModal(); }, }, components: { diff --git a/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue b/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue index 50090769a..d06c4dfda 100644 --- a/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue +++ b/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue @@ -132,7 +132,7 @@ export default { this.resetAlerts(); const zipCodeData = await this.getZipCodeData(this.serviceZipCodeInput); - + if (!zipCodeData.isValid) { this.displayInvalidZipAlert = true; } else if (!zipCodeData.isServiceable) {