Merge pull request #650 from Safelite/feature/richardson/SSR-1176

Display correct address for Mobile Not Itac and Not nocomp
This commit is contained in:
brich1212safe 2024-04-25 15:19:18 -04:00 committed by GitHub
commit 6a3099656e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,7 +29,8 @@ export default {
];
},
addressInfo() {
if (this.serviceLocation?.appointmentType === AppointmentTypeStrings.MOBILE) {
if (this.serviceLocation?.appointmentType === AppointmentTypeStrings.MOBILE
|| this.serviceLocation?.appointmentType === AppointmentTypeStrings.MOBILE_NOT_ITAC_AND_NOT_NOCOMP) {
return {
address: this.serviceLocation?.address,
address2: this.serviceLocation?.address2 ?? '',