Fix issues raised by bugbot
This commit is contained in:
parent
36771caca3
commit
7965fe9137
2 changed files with 2 additions and 2 deletions
|
|
@ -282,7 +282,7 @@ export default {
|
|||
return {
|
||||
glassShop: this.getPreferredShopTitle,
|
||||
contactPhone: contactPhone,
|
||||
contactEmail: this.mainStore.contactInfo.emailAddress
|
||||
contactEmail: this.mainStore.contactInfo.emailAddress ?? ''
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1457,7 +1457,7 @@ export const useMainStore = defineStore({
|
|||
emailAddress: contactInfo.emailAddress || customer.emailAddress,
|
||||
firstName: contactInfo.firstName || customer.firstName,
|
||||
lastName: contactInfo.lastName || customer.lastName,
|
||||
homePhone: contactInfo.extension ? contactInfo.servicePhone + contactInfo.extension : contactInfo.homePhone,
|
||||
homePhone: contactInfo.extension && contactInfo.homePhone ? contactInfo.homePhone + contactInfo.extension : contactInfo.homePhone,
|
||||
servicePhone: contactInfo.servicePhone,
|
||||
alternativePhone: contactInfo.alternativePhone,
|
||||
isSmsOptIn: contactInfo.requestTextUpdates ?? false
|
||||
|
|
|
|||
Loading…
Reference in a new issue