Merge branch 'develop' into feature/jzimmerman/INSR-8742

This commit is contained in:
Jeremy-Z 2026-03-20 12:02:46 -04:00
commit a6d3b72380

View file

@ -142,6 +142,10 @@ export default {
availableLineItems.push(...feeItems);
}
if (resultMap?.supportingItems?.length > 0) {
availableLineItems.push(...resultMap.supportingItems);
}
let hasBailedOut = false;
const pricedItems = await store.getCombinedQuote(availableLineItems)
.catch((err) => {
@ -153,11 +157,13 @@ export default {
next(`/?issPage=${issPageValues.BAILOUT_PAGE}`);
});
const pricedVaps = pricedItems.filter((item) => !resultMap.supportingItems.some((si) => si.partNumber === item.partNumber));
// Call the "next" function to complete the transition to this page.
if (!hasBailedOut) {
next((vm) => {
vm.setCmsContent(resultMap.cmsContent);
vm.setData(pricedItems);
vm.setData(pricedVaps);
});
}
},