Merge pull request #2175 from Safelite/CSR-2427-code-cleanup

Code cleanup.
This commit is contained in:
AdamCaouetteSafelite 2024-12-16 09:31:05 -05:00 committed by GitHub
commit 76ee4d4049
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -624,7 +624,7 @@ export default {
return `${this.ServiceLocationAddress.toLowerCase()}${this.ServiceLocationAddress2 ? ", " + this.ServiceLocationAddress2 : ""}, ${this.ServiceLocationCity.toLowerCase()}, ${this.ServiceLocationState} ${this.ServiceLocationZipCode}`;
},
ServiceLocationFullAddress() {
if (this.AppointmentType === "Mobile") {
if (this.AppointmentType === AppointmentTypeStrings.MOBILE) {
return {
streetAddress: this.$store.getters.order.serviceLocation?.address,
address2: this.$store.getters.order.serviceLocation?.address2,