SSR-707 Fix Missing Customer Name
This commit is contained in:
parent
2b76ace08a
commit
cc413bf3bb
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue