Merge branch 'develop' into defect/CSR-612
This commit is contained in:
commit
5de45da1d5
2 changed files with 8 additions and 4 deletions
|
|
@ -265,6 +265,8 @@ export default {
|
||||||
|
|
||||||
await this.dispatchStoreAction(storeActions.SAVE_EMAIL, this.customerQuestions.emailAddress, false);
|
await this.dispatchStoreAction(storeActions.SAVE_EMAIL, this.customerQuestions.emailAddress, false);
|
||||||
await this.dispatchStoreAction(storeActions.SAVE_SERVICE_LOCATION, {
|
await this.dispatchStoreAction(storeActions.SAVE_SERVICE_LOCATION, {
|
||||||
|
address: this.customerQuestions.addressQuestions.streetAddress,
|
||||||
|
city: this.customerQuestions.addressQuestions.city,
|
||||||
zipCode: this.serviceZipCode,
|
zipCode: this.serviceZipCode,
|
||||||
state: resultMap.serviceZipValidationResponse.state,
|
state: resultMap.serviceZipValidationResponse.state,
|
||||||
}, false);
|
}, false);
|
||||||
|
|
|
||||||
|
|
@ -351,10 +351,12 @@ export default {
|
||||||
if (zipValidationResponse.data.isServiceable) {
|
if (zipValidationResponse.data.isServiceable) {
|
||||||
|
|
||||||
// If the Service Zip entered is serviceable then save the Zip Info and Email Address and navigate forward
|
// If the Service Zip entered is serviceable then save the Zip Info and Email Address and navigate forward
|
||||||
await this.dispatchStoreAction(storeActions.SAVE_SERVICE_LOCATION, {
|
if (this.$store.getters.order.serviceLocation.zipCode != this.zip) {
|
||||||
zipCode: this.zip,
|
await this.dispatchStoreAction(storeActions.SAVE_SERVICE_LOCATION, {
|
||||||
state: zipValidationResponse.data.state
|
zipCode: this.zip,
|
||||||
}, false);
|
state: zipValidationResponse.data.state
|
||||||
|
}, false);
|
||||||
|
}
|
||||||
|
|
||||||
await this.dispatchStoreAction(storeActions.SAVE_EMAIL, this.email, false);
|
await this.dispatchStoreAction(storeActions.SAVE_EMAIL, this.email, false);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue