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