refactor: join date and time to max cash width

This commit is contained in:
José Oliveira 2021-03-08 11:00:19 +00:00 committed by Josh Harvey
parent 45b2c85f02
commit 830997bce2

View file

@ -117,7 +117,7 @@ const Transactions = () => {
}, },
{ {
header: 'Cash', header: 'Cash',
width: 126, width: 144,
textAlign: 'right', textAlign: 'right',
size: 'sm', size: 'sm',
view: it => `${Number.parseFloat(it.fiat)} ${it.fiatCode}` view: it => `${Number.parseFloat(it.fiat)} ${it.fiatCode}`
@ -141,17 +141,10 @@ const Transactions = () => {
}, },
{ {
header: 'Date (UTC)', header: 'Date (UTC)',
view: it => moment.utc(it.created).format('YYYY-MM-DD'), view: it => moment.utc(it.created).format('YYYY-MM-DD HH:mm:ss'),
textAlign: 'right', textAlign: 'right',
size: 'sm', size: 'sm',
width: 135 width: 195
},
{
header: 'Time (UTC)',
view: it => moment.utc(it.created).format('HH:mm:ss'),
textAlign: 'right',
size: 'sm',
width: 130
}, },
{ {
header: 'Status', header: 'Status',