This commit is contained in:
Leah Schumann 2023-03-28 08:28:55 -04:00
parent 31355e1e73
commit 902cd69858
3 changed files with 14 additions and 6 deletions

View file

@ -190,10 +190,10 @@ export default {
}, },
}, },
showMilitaryZipAlert() { showMilitaryZipAlert() {
return ( const isZipServiceableMobile =
this.zipContainsMilitaryBase && this.isGlassServiceableMobile && this.isRecalibrationServiceableMobile;
(this.isZipServiceableMobile == null || this.isZipServiceableMobile === true)
); return this.zipContainsMilitaryBase && isZipServiceableMobile;
}, },
}, },
methods: { methods: {

View file

@ -55,8 +55,13 @@ export default {
return filteredAnswers; return filteredAnswers;
}, },
serviceability() { serviceability() {
const mobileAvailable = let mobileAvailable;
this.isGlassServiceableMobile && this.isRecalibrationServiceableMobile; if (this.IsRecalibrationServiceableMobile == null) {
mobileAvailable = this.isGlassServiceableMobile;
} else {
mobileAvailable = this.isGlassServiceableMobile && this.isRecalibrationServiceableMobile;
}
const inshopAvailable = const inshopAvailable =
this.isGlassServiceableInshop && this.isRecalibrationServiceableInshop; this.isGlassServiceableInshop && this.isRecalibrationServiceableInshop;
@ -87,6 +92,8 @@ export default {
handler(newValue) { handler(newValue) {
if (newValue == "MobileOnly") { if (newValue == "MobileOnly") {
this.selectedValues = "Mobile"; this.selectedValues = "Mobile";
} else {
this.selectedValues = null;
} }
}, },
}, },

View file

@ -43,6 +43,7 @@ const getDefaultState = () => {
state: null, state: null,
zipCode: null, zipCode: null,
zipCodeCtu: null, zipCodeCtu: null,
serviceType: null,
}, },
customer: { customer: {
emailAddress: null, emailAddress: null,