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 {
|
return {
|
||||||
glassShop: this.getPreferredShopTitle,
|
glassShop: this.getPreferredShopTitle,
|
||||||
contactPhone: contactPhone,
|
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,
|
emailAddress: contactInfo.emailAddress || customer.emailAddress,
|
||||||
firstName: contactInfo.firstName || customer.firstName,
|
firstName: contactInfo.firstName || customer.firstName,
|
||||||
lastName: contactInfo.lastName || customer.lastName,
|
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,
|
servicePhone: contactInfo.servicePhone,
|
||||||
alternativePhone: contactInfo.alternativePhone,
|
alternativePhone: contactInfo.alternativePhone,
|
||||||
isSmsOptIn: contactInfo.requestTextUpdates ?? false
|
isSmsOptIn: contactInfo.requestTextUpdates ?? false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue