Skip to content

Commit

Permalink
add fallback value
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanDylann committed Sep 6, 2024
1 parent ec012fe commit cdbe6af
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 cdbe6af

Please sign in to comment.