diff --git a/src/iss-components/address-questions/address-questions.vue b/src/iss-components/address-questions/address-questions.vue
index 55abd09c..57b9d0dc 100644
--- a/src/iss-components/address-questions/address-questions.vue
+++ b/src/iss-components/address-questions/address-questions.vue
@@ -13,7 +13,7 @@
disableAutoFill
validationRules="street-address-required"
@keydown.enter.prevent
- @focusout="fillInAddressUsingFirstItem()" />
+ @focusout="fillInAddress()" />
+ includeStreetAddress2="true" />
0 && this.hasValidCarId(),
+ hasBailedOut: false
};
},
computed: {
@@ -230,12 +231,13 @@ export default {
this.needToLookupVehicle = false;
- return;
+ return null;
}
let isSelectedGlassAvailableForVehicle = true;
if (this.isCarIdDifferentFromTheStore) {
- isSelectedGlassAvailableForVehicle = await isGlassAvailableForCarId(this.vehicleFromLookup.carId);
+ isSelectedGlassAvailableForVehicle =
+ await isGlassAvailableForCarId(this.vehicleFromLookup.carId);
}
// navigate back to vehicle-damage
@@ -253,7 +255,7 @@ export default {
);
// navigate() doesn't stop the processing flow
- return;
+ return null;
}
// save vehicle to store if it hasn't already been saved
@@ -266,22 +268,28 @@ export default {
this.navigationScenarios.CORRECTED_VIN_FROM_POLICY_VEHICLE,
this.$route
);
- return;
+ return null;
}
const partsOrQuestionsResponse = await this.getPartsOrQuestions();
if (partsOrQuestionsResponse.error) {
this.mainStore.setBailout(bailoutMessage.PartsServiceError(partsOrQuestionsResponse.error.data));
window.console.error('Error on retrieving PartsOrQuestions');
+ this.$refs.siteFooter.removeLoader();
+ this.hasBailedOut = true;
this.$router.navigate(
this.navigationScenarios.CLICKED_FORWARD_WITH_BAILOUT,
this.$route
);
- return;
}
// Comes from vehicleQuestionsMixin.navigateForward()
- await this.navigateForward(partsOrQuestionsResponse.data.partsOrQuestions, this);
+ if (!this.hasBailedOut) {
+ await this.navigateForward(
+ partsOrQuestionsResponse.data.partsOrQuestions,
+ this
+ );
+ }
},
async lookupVehicleByVin(vin) {
try {