From 61cc1d7862b94922dab2466d66f50a6c848e2b62 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Thu, 30 Mar 2023 13:24:06 -0400 Subject: [PATCH] Quick suggested change from Chloe --- src/layouts/service-location/service-location.vue | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 7f8430f04..2fb08adef 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -221,18 +221,7 @@ export default { return this.isServiceableMobile && !this.isServiceableInshop; }, displayNoShopsAlert() { - let mobileAvailable; - if (this.IsRecalibrationServiceableMobile == null) { - mobileAvailable = this.isGlassServiceableMobile; - } else { - mobileAvailable = - this.isGlassServiceableMobile && this.isRecalibrationServiceableMobile; - } - - const inshopAvailable = - this.isGlassServiceableInshop && this.isRecalibrationServiceableInshop; - - return !inshopAvailable && !mobileAvailable; + return !inshoisServiceableInshoppAvailable && !isServiceableMobile; }, }, methods: {