Skip to content

Commit

Permalink
add error indicator for assigned cards
Browse files Browse the repository at this point in the history
  • Loading branch information
pasyukevich committed Oct 18, 2023
1 parent 06a9d0d commit 5fec082
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/settings/Wallet/PaymentMethodList.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ function PaymentMethodList({
interactive: isExpensifyCard,
canDismissError: isExpensifyCard,
errors: card.errors,
brickRoadIndicator: (card.fraud === CONST.EXPENSIFY_CARD.FRAUD_TYPES.DOMAIN || card.fraud === CONST.EXPENSIFY_CARD.FRAUD_TYPES.INDIVIDUAL) ? 'error' : null,
...icon,
};
});
Expand Down Expand Up @@ -301,6 +302,7 @@ function PaymentMethodList({
shouldShowSelectedState={shouldShowSelectedState}
isSelected={selectedMethodID === item.methodID}
interactive={item.interactive}
brickRoadIndicator={item.brickRoadIndicator}
/>
</OfflineWithFeedback>
),
Expand Down

0 comments on commit 5fec082

Please sign in to comment.