Convert null address2s to empty strings for mobile

This commit is contained in:
Chloe Herd 2023-07-26 11:35:26 -04:00
parent a289c03dc9
commit 23e4096a3c

View file

@ -35,7 +35,7 @@ export default {
if (this.serviceLocation?.appointmentType === AppointmentTypeStrings.MOBILE) { if (this.serviceLocation?.appointmentType === AppointmentTypeStrings.MOBILE) {
return { return {
address: this.serviceLocation?.address, address: this.serviceLocation?.address,
address2: this.serviceLocation?.address2, address2: this.serviceLocation?.address2 ?? "",
city: this.serviceLocation?.city, city: this.serviceLocation?.city,
state: this.serviceLocation?.state, state: this.serviceLocation?.state,
zipCode: this.serviceLocation?.zipCode, zipCode: this.serviceLocation?.zipCode,