From a5fd5ad46721626cb8337d911652fc0e400b34ab Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Fri, 13 Oct 2023 17:43:11 -0400 Subject: [PATCH] Show Address Line 2 on mobile Location modal Cleaned up a rogue console.log Updated 2 itac checks to include NoComp --- src/digital-components/date-picker/date-picker.vue | 1 - .../appointment-type-question/appointment-type-question.vue | 4 ++-- .../mobile-location-modal-questions.vue | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/digital-components/date-picker/date-picker.vue b/src/digital-components/date-picker/date-picker.vue index b57dcdc1..f30f9b7d 100644 --- a/src/digital-components/date-picker/date-picker.vue +++ b/src/digital-components/date-picker/date-picker.vue @@ -669,7 +669,6 @@ export default { } }, async updateSelectableDates(monthStart, monthEnd) { - console.log(this.mainStore); const moreSelectableDates = await this.customSelectableDatesCallback( monthStart, monthEnd, diff --git a/src/layouts/service-location/appointment-type-question/appointment-type-question.vue b/src/layouts/service-location/appointment-type-question/appointment-type-question.vue index cf1a9cfe..19dae4e5 100644 --- a/src/layouts/service-location/appointment-type-question/appointment-type-question.vue +++ b/src/layouts/service-location/appointment-type-question/appointment-type-question.vue @@ -91,7 +91,7 @@ export default { && newValue.findIndex((answer) => (answer.Name === AppointmentTypeStrings.MOBILE || answer.Name === AppointmentTypeStrings.MOBILE_NOT_ITAC_AND_NOT_NOCOMP)) !== -1 ) { - if (this.isITAC) { + if (this.isItacOrNoComp) { this.selectedValues = AppointmentTypeStrings.MOBILE; } else { this.selectedValues = AppointmentTypeStrings.MOBILE_NOT_ITAC_AND_NOT_NOCOMP; @@ -103,7 +103,7 @@ export default { isMobileOnly: { handler(newValue) { if (newValue) { - if (this.isITAC) { + if (this.isItacOrNoComp) { this.selectedValues = AppointmentTypeStrings.MOBILE; } else { this.selectedValues = AppointmentTypeStrings.MOBILE_NOT_ITAC_AND_NOT_NOCOMP; diff --git a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue index 73698e45..eb305cea 100644 --- a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue +++ b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue @@ -49,7 +49,8 @@ ref="addressQuestions" v-model="internalModel.addressQuestions" captureApartmentNumberOrBusinessName="true" - preserveCityAndStateOnReset="true" /> + preserveCityAndStateOnReset="true" + includeStreetAddress2="true" />