Skip to content

Commit

Permalink
Update src/libs/CardUtils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mountiny authored Sep 13, 2024
1 parent 2942429 commit 64b458a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/CardUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ function shouldExpensifyCardToggleBeDisabled(workspaceAccountID?: number, areExp
const cardsList = allCardsLists?.[`${ONYXKEYS.COLLECTION.WORKSPACE_CARDS_LIST}${workspaceAccountID}_${CONST.EXPENSIFY_CARD.BANK}`];

return !isEmptyObject(cardsList);
}

function getCardDetailsImage(cardFeed: string): IconAsset {
if (cardFeed.startsWith(CONST.COMPANY_CARD.FEED_BANK_NAME.MASTER_CARD)) {
Expand Down

0 comments on commit 64b458a

Please sign in to comment.