CSR-416 Rename function

This commit is contained in:
Katie 2022-05-12 15:31:21 -04:00
parent 7a511d73bc
commit 50d837b798

View file

@ -264,8 +264,8 @@ export default {
this.displayVinLookupByHomeAddressNotAllowedAlert = false;
},
navigateForward(carEntered, carsFound) {
this.setupOrderBeforeSave();
this.setupServiceLocationIfNecessary();
if (carsFound.length == 1) {
// if a different vehicle is found than the one entered and the selected glass
// is not available for that vehicle
@ -336,7 +336,7 @@ export default {
store.commit(storeMutations.UPDATE_SERVICE_LOCATION_ZIP_CODE, this.serviceZipCode);
store.commit(storeMutations.UPDATE_CUSTOMER_EMAIL_ADDRESS, this.customerQuestions.emailAddress);
},
setupOrderBeforeSave() {
setupServiceLocationIfNecessary() {
const serviceLocation = store.getters.order.serviceLocation;
if (!serviceLocation.zipCode && serviceLocation.zipCode == store.getters.vehicle.registration.zipCode) {