SSR-707 Fix Missing Customer Name

This commit is contained in:
Josh Dassinger 2023-09-19 12:10:16 -05:00
parent 2b76ace08a
commit cc413bf3bb

View file

@ -881,8 +881,8 @@ export const useMainStore = defineStore({
zipCode: customer.address?.zipCode
},
emailAddress: contactInfo.emailAddress,
firstName: contactInfo.firstName,
lastName: contactInfo.lastName,
firstName: contactInfo.firstName ?? customer.firstName,
lastName: contactInfo.lastName ?? customer.lastName,
phoneNumber: contactInfo.phoneNumber,
optInSms: contactInfo.requestTextUpdates ?? false
},