From 61cc1d7862b94922dab2466d66f50a6c848e2b62 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Thu, 30 Mar 2023 13:24:06 -0400 Subject: [PATCH 1/3] 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: { From b5970c645aa4b1d14593124fbafb016944c58ef9 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Thu, 30 Mar 2023 13:32:09 -0400 Subject: [PATCH 2/3] Quick suggested change from Chloe 2 --- src/layouts/service-location/service-location.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 2fb08adef..6f004e1de 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -221,7 +221,7 @@ export default { return this.isServiceableMobile && !this.isServiceableInshop; }, displayNoShopsAlert() { - return !inshoisServiceableInshoppAvailable && !isServiceableMobile; + return !isServiceableInshop && !isServiceableMobile; }, }, methods: { From 23088294287edbe687bb46643f2a278198ea9af4 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Thu, 30 Mar 2023 13:33:25 -0400 Subject: [PATCH 3/3] Quick suggested change from Chloe 3 --- src/layouts/service-location/service-location.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 6f004e1de..69b4f4926 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -221,7 +221,7 @@ export default { return this.isServiceableMobile && !this.isServiceableInshop; }, displayNoShopsAlert() { - return !isServiceableInshop && !isServiceableMobile; + return !this.isServiceableInshop && !this.isServiceableMobile; }, }, methods: {