diff --git a/src/layouts/service-location/shop-question/shop-question-popup.vue b/src/layouts/service-location/shop-question/shop-question-popup.vue index 59d7ddcd4..31f304594 100644 --- a/src/layouts/service-location/shop-question/shop-question-popup.vue +++ b/src/layouts/service-location/shop-question/shop-question-popup.vue @@ -236,15 +236,6 @@ export default { this.answers = []; this.updateShopsForZip(this.localZipCode); this.localSelectedProviderNumber = this.selectedProviderNumberFromParent; - if ( - (!this.localSelectedProviderNumber || - !this.shopProviders.some( - (p) => p.providerNumber == this.localSelectedProviderNumber - )) && - this.shopProviders.length > 0 - ) { - this.localSelectedProviderNumber = this.shopProviders[0].providerNumber; - } }, closeModal() { this.modal.closeModal(); @@ -291,7 +282,7 @@ export default { this.answers = []; return; } - if (!zipCode || !this.shopProviders.length) { + if (!this.shopProviders.length) { this.answers = []; this.displayNoShopsAlert = true; this.displaySeeMoreLocationsLink = false; @@ -332,12 +323,6 @@ export default { }); this.answers = mappedData; // I think we should call our new pushGA Event here with new mapped data - if ( - this.localSelectedProviderNumber && - !this.answers.some((a) => String(a.value) === String(this.localSelectedProviderNumber)) - ) { - this.localSelectedProviderNumber = null; - } this.indexOfLastShopToBeDisplayed = mappedData.length; this.displayNoShopsAlert = this.answers.length === 0; },