fix: customer list column widths
This commit is contained in:
parent
18d5d7372f
commit
cf968aeaa3
1 changed files with 5 additions and 5 deletions
|
|
@ -24,31 +24,31 @@ const CustomersList = ({ data, locale, onClick, loading }) => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: 'Name',
|
header: 'Name',
|
||||||
width: 247,
|
width: 241,
|
||||||
view: getName
|
view: getName
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: 'Total TXs',
|
header: 'Total TXs',
|
||||||
width: 130,
|
width: 126,
|
||||||
textAlign: 'right',
|
textAlign: 'right',
|
||||||
view: it => `${Number.parseInt(it.totalTxs)}`
|
view: it => `${Number.parseInt(it.totalTxs)}`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: 'Total spent',
|
header: 'Total spent',
|
||||||
width: 155,
|
width: 152,
|
||||||
textAlign: 'right',
|
textAlign: 'right',
|
||||||
view: it =>
|
view: it =>
|
||||||
`${Number.parseFloat(it.totalSpent)} ${it.lastTxFiatCode ?? ''}`
|
`${Number.parseFloat(it.totalSpent)} ${it.lastTxFiatCode ?? ''}`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: 'Last active',
|
header: 'Last active',
|
||||||
width: 137,
|
width: 133,
|
||||||
view: it =>
|
view: it =>
|
||||||
(it.lastActive && format('yyyy-MM-dd', new Date(it.lastActive))) ?? ''
|
(it.lastActive && format('yyyy-MM-dd', new Date(it.lastActive))) ?? ''
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: 'Last transaction',
|
header: 'Last transaction',
|
||||||
width: 165,
|
width: 161,
|
||||||
textAlign: 'right',
|
textAlign: 'right',
|
||||||
view: it => {
|
view: it => {
|
||||||
const hasLastTx = !R.isNil(it.lastTxFiatCode)
|
const hasLastTx = !R.isNil(it.lastTxFiatCode)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue