CSR-416 Rename function
This commit is contained in:
parent
7a511d73bc
commit
50d837b798
1 changed files with 3 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue