Merge pull request #155 from Safelite/feature/Digital/SSR-210
removed hardcode value
This commit is contained in:
commit
c4d37a0d11
2 changed files with 2 additions and 4 deletions
|
|
@ -197,6 +197,7 @@ export default {
|
|||
registrationInfo: {
|
||||
licensePlate: this.licensePlate,
|
||||
state: this.licenseState,
|
||||
zipCode: useMainStore().vehicle.registration.zipCode,
|
||||
},
|
||||
},
|
||||
false
|
||||
|
|
|
|||
|
|
@ -329,10 +329,7 @@ export const useMainStore = defineStore({
|
|||
|
||||
const carId = vehicle.carId;
|
||||
const glassArray = damage.glassToReplace;
|
||||
// zip code is not available yet at the time of writing
|
||||
// const zipCode = order.serviceLocation.zipCode;
|
||||
// To Do: replace with actual zip code
|
||||
const zipCode = '43215';
|
||||
const zipCode = vehicle.registration.zipCode ? vehicle.registration.zipCode : order.customer.address.zipCode;
|
||||
const vin = vehicle.vin;
|
||||
|
||||
// create a new array to avoid mutating state
|
||||
|
|
|
|||
Loading…
Reference in a new issue