Skip to content

Commit

Permalink
Include branded in HCF eligibility check (#2257)
Browse files Browse the repository at this point in the history
* Include branded in HCF eligibility check

* back out tests for now

---------

Co-authored-by: Shane Brunson <[email protected]>
  • Loading branch information
elizabethmv and wsbrunson authored Oct 12, 2023
1 parent e628f02 commit 415610a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/zoid/card-fields/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 415610a

Please sign in to comment.