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
  • Loading branch information
mountiny authored Sep 6, 2024
2 parents 2a34f70 + cdbe6af commit 5786320
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 5786320

Please sign in to comment.