diff --git a/clients/banking/src/components/AccountArea.tsx b/clients/banking/src/components/AccountArea.tsx index 91dfbdc0b..409adb1de 100644 --- a/clients/banking/src/components/AccountArea.tsx +++ b/clients/banking/src/components/AccountArea.tsx @@ -830,6 +830,7 @@ export const AccountArea = ({ accountMembershipId }: Props) => { accountCountry={currentUserAccountMembership.account.country} params={params} currentUserAccountMembership={currentUserAccountMembership} + cardOrderVisible={cardOrderVisible} physicalCardOrderVisible={physicalCardOrderVisible} shouldDisplayIdVerification={ projectInfo.B2BMembershipIDVerification !== false diff --git a/clients/banking/src/components/MembershipsArea.tsx b/clients/banking/src/components/MembershipsArea.tsx index 8211c4337..05ab1e652 100644 --- a/clients/banking/src/components/MembershipsArea.tsx +++ b/clients/banking/src/components/MembershipsArea.tsx @@ -47,6 +47,7 @@ type Props = { accountId: string; memberCreationVisible: boolean; canAddCard: boolean; + cardOrderVisible: boolean; physicalCardOrderVisible: boolean; accountCountry: AccountCountry; shouldDisplayIdVerification: boolean; @@ -76,6 +77,7 @@ export const MembershipsArea = ({ accountId, memberCreationVisible, canAddCard, + cardOrderVisible, physicalCardOrderVisible, accountCountry, shouldDisplayIdVerification, @@ -352,7 +354,7 @@ export const MembershipsArea = ({ currentUserAccountMembership={currentUserAccountMembership} editingAccountMembershipId={membership.id} onAccountMembershipUpdate={onAccountMembershipUpdate} - canAddCard={canAddCard} + canAddCard={cardOrderVisible && canAddCard} physicalCardOrderVisible={physicalCardOrderVisible} accountCountry={accountCountry} shouldDisplayIdVerification={shouldDisplayIdVerification}