Merge pull request #1017 from Safelite/feature/INSR-8113

INSR-8113: 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-21 11:28:24 -05:00 committed by GitHub
commit 48a3ecfac8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -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
};
}
}

View file

@ -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) {