SSR-1410 Remove unnecessary check

This commit is contained in:
Josh Dassinger 2024-07-08 09:06:37 -05:00
parent be5ae6985f
commit c2bae5ced3

View file

@ -162,9 +162,8 @@ export default {
} }
]; ];
const { vehicle, isPolicyLookupSuccessful, isITAC, isDeductible, serviceLocation } = store; const { vehicle, isITAC, isDeductible, serviceLocation } = store;
if ((isITAC || isDeductible) if ((isITAC || isDeductible)
&& isPolicyLookupSuccessful
&& vehicle.policyVehicleId >= 0) { && vehicle.policyVehicleId >= 0) {
promiseResultMap.push({ promiseResultMap.push({
resultKey: 'getFinalDeductible', resultKey: 'getFinalDeductible',