Quick suggested change from Chloe

This commit is contained in:
Leah Schumann 2023-03-30 13:24:06 -04:00
parent 26256cfd50
commit 61cc1d7862

View file

@ -221,18 +221,7 @@ export default {
return this.isServiceableMobile && !this.isServiceableInshop; return this.isServiceableMobile && !this.isServiceableInshop;
}, },
displayNoShopsAlert() { displayNoShopsAlert() {
let mobileAvailable; return !inshoisServiceableInshoppAvailable && !isServiceableMobile;
if (this.IsRecalibrationServiceableMobile == null) {
mobileAvailable = this.isGlassServiceableMobile;
} else {
mobileAvailable =
this.isGlassServiceableMobile && this.isRecalibrationServiceableMobile;
}
const inshopAvailable =
this.isGlassServiceableInshop && this.isRecalibrationServiceableInshop;
return !inshopAvailable && !mobileAvailable;
}, },
}, },
methods: { methods: {