call final-deductible if vehicle is a policy vehicle

This commit is contained in:
Katie Kroell 2023-12-01 14:23:41 -05:00
parent e7a8f55f38
commit d992e1fc84

View file

@ -170,7 +170,7 @@ export default {
];
let pricingResults = [];
if (useMainStore().order.policy.policyLookupSuccessful) {
if (useMainStore().order.policy.policyLookupSuccessful && useMainStore().order.vehicle.policyVehicleId) {
pricingResults = await useMainStore().getPriceOrderItems(availableLineItems);
await useMainStore().getFinalDeductible();
}