Skip to content

Commit

Permalink
Merge pull request #48689 from DylanDylann/cp-fix-configure-card
Browse files Browse the repository at this point in the history
[CP Staging] Add fallback value to configure bank account

(cherry picked from commit 5786320)

(CP triggered by mountiny)
  • Loading branch information
mountiny authored and OSBotify committed Sep 6, 2024
1 parent b9e1344 commit 159d436
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function WorkspaceExpensifyCardBankAccounts({route}: WorkspaceExpensifyCardBankA
return eligibleBankAccounts.map((bankAccount) => {
const bankName = (bankAccount.accountData?.addressName ?? '') as BankName;
const bankAccountNumber = bankAccount.accountData?.accountNumber ?? '';
const bankAccountID = bankAccount.accountData?.bankAccountID;
const bankAccountID = bankAccount.accountData?.bankAccountID ?? bankAccount?.methodID;

const {icon, iconSize, iconStyles} = getBankIcon({bankName, styles});

Expand Down

0 comments on commit 159d436

Please sign in to comment.