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