Skip to content

Commit 636405e

Browse files
authored
Merge pull request #1082 from topcoder-platform/fix-wallet-status-filter
fix for wallet: status filter
2 parents a2c3c38 + d8a947b commit 636405e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/apps/wallet/src/home/tabs/winnings/WinningsTab.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ function formatStatus(status: string): string {
4949
return 'Paid'
5050
case 'CANCELLED':
5151
return 'Cancelled'
52+
case 'FAILED':
53+
return 'Failed'
54+
case 'RETURNED':
55+
return 'Returned'
5256
default:
5357
return status.replaceAll('_', ' ')
5458
}
@@ -309,6 +313,14 @@ const ListView: FC<ListViewProps> = (props: ListViewProps) => {
309313
label: 'Cancelled',
310314
value: 'CANCELLED',
311315
},
316+
{
317+
label: 'Failed',
318+
value: 'FAILED',
319+
},
320+
{
321+
label: 'Returned',
322+
value: 'RETURNED',
323+
},
312324
],
313325
type: 'dropdown',
314326
},

0 commit comments

Comments
 (0)