Reset label
This commit is contained in:
@@ -55,3 +55,10 @@ export function displayPhone(phone: string): string {
|
||||
export function displayTime(time: string | Moment): string {
|
||||
return moment(time).format('YYYY-MM-DD HH:mm');
|
||||
}
|
||||
|
||||
export function displayLabel(label?: string | null): string | null | undefined {
|
||||
if (label && label.toLowerCase().startsWith('usdt')) {
|
||||
return 'USDT(erc20)';
|
||||
}
|
||||
return label;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user