Skip to content

Commit 1c0537f

Browse files
committed
Update to show processing state in dropdown
1 parent ccb85cc commit 1c0537f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* *

src/apps/wallet-admin/src/home/tabs/payments/PaymentsTab.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ function formatStatus(status: string): string {
3737
return 'Paid'
3838
case 'CANCELLED':
3939
return 'Cancel'
40+
case 'PROCESSING':
41+
return 'Processing'
4042
default:
4143
return status.replaceAll('_', ' ')
4244
}
@@ -354,7 +356,7 @@ const ListView: FC<ListViewProps> = (props: ListViewProps) => {
354356
},
355357
{
356358
label: 'Processing',
357-
value: 'Processing',
359+
value: 'PROCESSING',
358360
},
359361
],
360362
type: 'dropdown',

0 commit comments

Comments
 (0)