change where zip is pulled for getParts method
This commit is contained in:
parent
d7aee3e3a9
commit
366d60685a
1 changed files with 1 additions and 1 deletions
|
|
@ -362,7 +362,7 @@ export const useMainStore = defineStore({
|
|||
const carId = vehicle.carId;
|
||||
const glassArray = damage.glassToReplace;
|
||||
const resultsArray = damage.partQuestionAnswers;
|
||||
const zipCode = order.serviceLocation.zipCode;
|
||||
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