Skip to content

Commit

Permalink
Merge pull request #34040 from Expensify/georgia-physicalCardRow
Browse files Browse the repository at this point in the history
Only show Physical Card row on Expensify Card Page if the card is in the open state
  • Loading branch information
youssef-lr authored Jan 10, 2024
2 parents 09e7aa3 + 7d684a1 commit 30667bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/settings/Wallet/ExpensifyCardPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ function ExpensifyCardPage({
/>
</>
)}
{!_.isEmpty(physicalCard) && (
{physicalCard.state === CONST.EXPENSIFY_CARD.STATE.OPEN && (
<>
<MenuItemWithTopDescription
description={translate('cardPage.physicalCardNumber')}
Expand Down

0 comments on commit 30667bb

Please sign in to comment.