Show Address Line 2 on mobile Location modal

Cleaned up a rogue console.log
Updated 2 itac checks to include NoComp
This commit is contained in:
Bill Richardson 2023-10-13 17:43:11 -04:00
parent 3ecd2222e9
commit a5fd5ad467
3 changed files with 4 additions and 4 deletions

View file

@ -669,7 +669,6 @@ export default {
} }
}, },
async updateSelectableDates(monthStart, monthEnd) { async updateSelectableDates(monthStart, monthEnd) {
console.log(this.mainStore);
const moreSelectableDates = await this.customSelectableDatesCallback( const moreSelectableDates = await this.customSelectableDatesCallback(
monthStart, monthStart,
monthEnd, monthEnd,

View file

@ -91,7 +91,7 @@ export default {
&& newValue.findIndex((answer) => (answer.Name === AppointmentTypeStrings.MOBILE && newValue.findIndex((answer) => (answer.Name === AppointmentTypeStrings.MOBILE
|| answer.Name === AppointmentTypeStrings.MOBILE_NOT_ITAC_AND_NOT_NOCOMP)) !== -1 || answer.Name === AppointmentTypeStrings.MOBILE_NOT_ITAC_AND_NOT_NOCOMP)) !== -1
) { ) {
if (this.isITAC) { if (this.isItacOrNoComp) {
this.selectedValues = AppointmentTypeStrings.MOBILE; this.selectedValues = AppointmentTypeStrings.MOBILE;
} else { } else {
this.selectedValues = AppointmentTypeStrings.MOBILE_NOT_ITAC_AND_NOT_NOCOMP; this.selectedValues = AppointmentTypeStrings.MOBILE_NOT_ITAC_AND_NOT_NOCOMP;
@ -103,7 +103,7 @@ export default {
isMobileOnly: { isMobileOnly: {
handler(newValue) { handler(newValue) {
if (newValue) { if (newValue) {
if (this.isITAC) { if (this.isItacOrNoComp) {
this.selectedValues = AppointmentTypeStrings.MOBILE; this.selectedValues = AppointmentTypeStrings.MOBILE;
} else { } else {
this.selectedValues = AppointmentTypeStrings.MOBILE_NOT_ITAC_AND_NOT_NOCOMP; this.selectedValues = AppointmentTypeStrings.MOBILE_NOT_ITAC_AND_NOT_NOCOMP;

View file

@ -49,7 +49,8 @@
ref="addressQuestions" ref="addressQuestions"
v-model="internalModel.addressQuestions" v-model="internalModel.addressQuestions"
captureApartmentNumberOrBusinessName="true" captureApartmentNumberOrBusinessName="true"
preserveCityAndStateOnReset="true" /> preserveCityAndStateOnReset="true"
includeStreetAddress2="true" />
<vehicleProtectedQuestion <vehicleProtectedQuestion
ref="vehicleProtectedQuestion" ref="vehicleProtectedQuestion"
v-model="internalModel.isVehicleProtected" v-model="internalModel.isVehicleProtected"