Show user ID in admin topup bills
This commit is contained in:
@@ -161,6 +161,16 @@ const TopupHistoryModal = ({ visible, onCancel, t }) => {
|
||||
|
||||
const columns = useMemo(() => {
|
||||
const baseColumns = [
|
||||
...(userIsAdmin
|
||||
? [
|
||||
{
|
||||
title: t('用户ID'),
|
||||
dataIndex: 'user_id',
|
||||
key: 'user_id',
|
||||
render: (userId) => <Text>{userId ?? '-'}</Text>,
|
||||
},
|
||||
]
|
||||
: []),
|
||||
{
|
||||
title: t('订单号'),
|
||||
dataIndex: 'trade_no',
|
||||
|
||||
Reference in New Issue
Block a user