diff --git a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue index 96977dd2b..0d7a82248 100644 --- a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue +++ b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue @@ -169,7 +169,17 @@ export default { return this.getCmsContent(this.linkWidgetName, "HeaderText"); }, mobileLocationLinkText() { - if (this.isMobileAddressComplete()) { + if ( + this.addressModel.streetAddress && + this.addressModel.streetAddress !== "" && + this.addressModel.city && + this.addressModel.city !== "" && + this.addressModel.state && + this.addressModel.state !== "" && + this.addressModel.zipCode && + this.addressModel.zipCode !== "" && + this.internalModel.isVehicleProtected !== null + ) { return `${this.addressModel.streetAddress}\n${this.addressModel.city}, ${this.addressModel.state} ${this.addressModel.zipCode}`; } return this.getCmsContent(this.linkWidgetName, "BodyText"); @@ -208,19 +218,6 @@ export default { }, }, methods: { - isMobileAddressComplete() { - return ( - this.addressModel.streetAddress && - this.addressModel.streetAddress !== "" && - this.addressModel.city && - this.addressModel.city !== "" && - this.addressModel.state && - this.addressModel.state !== "" && - this.addressModel.zipCode && - this.addressModel.zipCode !== "" && - this.internalModel.isVehicleProtected !== null - ); - }, openModal() { this.modal.openModal(); }, diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 02066d97e..a85a5bd17 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -88,7 +88,7 @@