Fixed issue with email not populating in the store after navigating forward from the PolicyHolderDetails page.

This commit is contained in:
Jeremy-Z 2026-01-20 10:42:39 -05:00
parent bcbd6a85db
commit b1d9aa15be
2 changed files with 2 additions and 1 deletions

View file

@ -194,7 +194,7 @@ export default {
lastName: this.mainStore.order.customer.lastName, lastName: this.mainStore.order.customer.lastName,
phoneNumber: this.mainStore.order.contactInfo.homePhone, phoneNumber: this.mainStore.order.contactInfo.homePhone,
extension: this.mainStore.order.contactInfo.extension, extension: this.mainStore.order.contactInfo.extension,
email: this.mainStore.order.customer.emailAddress, email: this.mainStore.order.customer.emailAddress
}; };
} }
} }

View file

@ -2290,6 +2290,7 @@ export const useMainStore = defineStore({
this.order.customer.address.zipCode = customerQuestions.addressQuestions.zipCode; this.order.customer.address.zipCode = customerQuestions.addressQuestions.zipCode;
this.order.customer.firstName = customerQuestions.firstName; this.order.customer.firstName = customerQuestions.firstName;
this.order.customer.lastName = customerQuestions.lastName; this.order.customer.lastName = customerQuestions.lastName;
this.order.customer.emailAddress = customerQuestions.email;
this.order.serviceLocation.zipCode = customerQuestions.addressQuestions.zipCode; this.order.serviceLocation.zipCode = customerQuestions.addressQuestions.zipCode;
}, },
updateIsSafeliteProvider(isSafelite) { updateIsSafeliteProvider(isSafelite) {