Commit e33fd66 1 parent b7b6d26 commit e33fd66 Copy full SHA for e33fd66
File tree 1 file changed +7
-10
lines changed
src/pages/settings/Wallet
1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -253,20 +253,17 @@ function ExpensifyCardPage({
253
253
</ >
254
254
) ) }
255
255
{ physicalCards . map ( ( card ) => {
256
- if ( card . state !== CONST . EXPENSIFY_CARD . STATE . OPEN && card . state !== CONST . EXPENSIFY_CARD . STATE . NOT_ACTIVATED ) {
256
+ if ( card . state !== CONST . EXPENSIFY_CARD . STATE . OPEN ) {
257
257
return null ;
258
258
}
259
-
260
259
return (
261
260
< >
262
- { card . state === CONST . EXPENSIFY_CARD . STATE . OPEN && (
263
- < MenuItemWithTopDescription
264
- description = { translate ( 'cardPage.physicalCardNumber' ) }
265
- title = { maskCard ( card ?. lastFourPAN ) }
266
- interactive = { false }
267
- titleStyle = { styles . walletCardNumber }
268
- />
269
- ) }
261
+ < MenuItemWithTopDescription
262
+ description = { translate ( 'cardPage.physicalCardNumber' ) }
263
+ title = { maskCard ( card ?. lastFourPAN ) }
264
+ interactive = { false }
265
+ titleStyle = { styles . walletCardNumber }
266
+ />
270
267
< MenuItem
271
268
title = { translate ( 'reportCardLostOrDamaged.report' ) }
272
269
icon = { Expensicons . Flag }
You can’t perform that action at this time.
0 commit comments