Merge pull request #445 from Safelite/defect/digital/SSR-707
SSR-707 Fix Missing Customer Name
This commit is contained in:
commit
cfed9d3816
1 changed files with 2 additions and 2 deletions
|
|
@ -881,8 +881,8 @@ export const useMainStore = defineStore({
|
||||||
zipCode: customer.address?.zipCode
|
zipCode: customer.address?.zipCode
|
||||||
},
|
},
|
||||||
emailAddress: contactInfo.emailAddress,
|
emailAddress: contactInfo.emailAddress,
|
||||||
firstName: contactInfo.firstName,
|
firstName: contactInfo.firstName || customer.firstName,
|
||||||
lastName: contactInfo.lastName,
|
lastName: contactInfo.lastName || customer.lastName,
|
||||||
phoneNumber: contactInfo.phoneNumber,
|
phoneNumber: contactInfo.phoneNumber,
|
||||||
optInSms: contactInfo.requestTextUpdates ?? false
|
optInSms: contactInfo.requestTextUpdates ?? false
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue