Merge pull request #1036 from Safelite/feature/CSR-1093

Quick suggested change from Chloe
This commit is contained in:
Leah Schumann 2023-03-30 13:38:31 -04:00 committed by GitHub
commit 3eb0498880
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 !this.isServiceableInshop && !this.isServiceableMobile;
},
},
methods: {