Merge pull request #2525 from Safelite/feature/Digital/CASH-710
CASH-710
This commit is contained in:
commit
ac20f473e6
1 changed files with 9 additions and 7 deletions
|
|
@ -306,14 +306,11 @@ export default {
|
||||||
},
|
},
|
||||||
isVehicleProtected: this.isVehicleProtected,
|
isVehicleProtected: this.isVehicleProtected,
|
||||||
isMobileSelected:
|
isMobileSelected:
|
||||||
this.selectedAppointmentType === AppointmentTypeStrings.MOBILE &&
|
this.selectedAppointmentType == AppointmentTypeStrings.MOBILE &&
|
||||||
!this.isMobileLocationOpened,
|
!this.getIsMobileLocationOpened(),
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
isMobileLocationOpened() {
|
|
||||||
return this.$refs.mobileLocationQuestions.isMobileLocationOpened;
|
|
||||||
},
|
|
||||||
isServiceableMobile() {
|
isServiceableMobile() {
|
||||||
if (this.isRecalibrationServiceableMobile !== null) {
|
if (this.isRecalibrationServiceableMobile !== null) {
|
||||||
return (
|
return (
|
||||||
|
|
@ -759,11 +756,16 @@ export default {
|
||||||
},
|
},
|
||||||
displayMobileAddressQuestion(openMobileLocation) {
|
displayMobileAddressQuestion(openMobileLocation) {
|
||||||
var mobileLocationQuestionsRef = this.$refs.mobileLocationQuestions;
|
var mobileLocationQuestionsRef = this.$refs.mobileLocationQuestions;
|
||||||
var isMobileAddressComplete = mobileLocationQuestionsRef.isMobileAddressComplete;
|
var isMobileAddressComplete = mobileLocationQuestionsRef?.isMobileAddressComplete;
|
||||||
if (isMobileAddressComplete) {
|
if (isMobileAddressComplete?.()) {
|
||||||
|
mobileLocationQuestionsRef.isMobileLocationOpened = false;
|
||||||
|
} else {
|
||||||
mobileLocationQuestionsRef.isMobileLocationOpened = openMobileLocation;
|
mobileLocationQuestionsRef.isMobileLocationOpened = openMobileLocation;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
getIsMobileLocationOpened() {
|
||||||
|
return this.$refs.mobileLocationQuestions?.isMobileLocationOpened;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
zipCode: {
|
zipCode: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue