From b1d9aa15be5b3a56fe6e16f601db36595f989059 Mon Sep 17 00:00:00 2001 From: Jeremy-Z Date: Tue, 20 Jan 2026 10:42:39 -0500 Subject: [PATCH] Fixed issue with email not populating in the store after navigating forward from the PolicyHolderDetails page. --- src/layouts/policy-holder-details/policy-holder-details.vue | 2 +- src/store/index.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/layouts/policy-holder-details/policy-holder-details.vue b/src/layouts/policy-holder-details/policy-holder-details.vue index 932b0484..ceb07902 100644 --- a/src/layouts/policy-holder-details/policy-holder-details.vue +++ b/src/layouts/policy-holder-details/policy-holder-details.vue @@ -194,7 +194,7 @@ export default { lastName: this.mainStore.order.customer.lastName, phoneNumber: this.mainStore.order.contactInfo.homePhone, extension: this.mainStore.order.contactInfo.extension, - email: this.mainStore.order.customer.emailAddress, + email: this.mainStore.order.customer.emailAddress }; } } diff --git a/src/store/index.js b/src/store/index.js index 05927b17..4c5bcbbd 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -2290,6 +2290,7 @@ export const useMainStore = defineStore({ this.order.customer.address.zipCode = customerQuestions.addressQuestions.zipCode; this.order.customer.firstName = customerQuestions.firstName; this.order.customer.lastName = customerQuestions.lastName; + this.order.customer.emailAddress = customerQuestions.email; this.order.serviceLocation.zipCode = customerQuestions.addressQuestions.zipCode; }, updateIsSafeliteProvider(isSafelite) {