From 415610a922a6df50be3bb4c913a77121060d14ad Mon Sep 17 00:00:00 2001 From: elizabethmv <40329316+elizabethmv@users.noreply.github.com> Date: Thu, 12 Oct 2023 16:07:31 -0500 Subject: [PATCH] Include branded in HCF eligibility check (#2257) * Include branded in HCF eligibility check * back out tests for now --------- Co-authored-by: Shane Brunson --- src/zoid/card-fields/component.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/zoid/card-fields/component.jsx b/src/zoid/card-fields/component.jsx index 54c7062edd..1793a8c541 100644 --- a/src/zoid/card-fields/component.jsx +++ b/src/zoid/card-fields/component.jsx @@ -475,7 +475,10 @@ export const getCardFieldsComponent: () => CardFieldsComponent = memoize( eligible: () => { const fundingEligibility = getRefinedFundingEligibility(); - if (fundingEligibility?.card?.eligible) { + if ( + fundingEligibility?.card?.eligible && + !fundingEligibility.card.branded + ) { return { eligible: true, };