SSR-1410 Remove redundant check

This commit is contained in:
Josh Dassinger 2024-07-08 08:34:52 -05:00
parent 1fcd36b2a9
commit be5ae6985f

View file

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