Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1d28358f07 |
@@ -124,7 +124,10 @@ function summaryCount(summary: WithdrawSummary | null, key: string) {
|
||||
if (!summary) return undefined;
|
||||
if (key === 'reviewing') return summary.reviewing_count;
|
||||
if (key === 'pending') return summary.pending_count;
|
||||
if (key === 'success') return summary.success_count;
|
||||
if (key === 'rejected') return summary.rejected_count;
|
||||
if (key === 'failed') return summary.failed_count;
|
||||
if (key === 'all') return summary.total_count;
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
||||
@@ -167,7 +167,10 @@ export interface WithdrawSummary {
|
||||
reviewing_count: number;
|
||||
reviewing_amount_cents: number;
|
||||
pending_count: number;
|
||||
success_count: number;
|
||||
rejected_count: number;
|
||||
failed_count: number;
|
||||
total_count: number;
|
||||
today_success_count: number;
|
||||
today_success_amount_cents: number;
|
||||
today_rejected_count: number;
|
||||
|
||||
Reference in New Issue
Block a user