Quick suggested change from Chloe
This commit is contained in:
parent
26256cfd50
commit
61cc1d7862
1 changed files with 1 additions and 12 deletions
|
|
@ -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: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue