From 830997bce2e933c5af7c71611a716329d30f5f86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Oliveira?= Date: Mon, 8 Mar 2021 11:00:19 +0000 Subject: [PATCH] refactor: join date and time to max cash width --- .../src/pages/Transactions/Transactions.js | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/new-lamassu-admin/src/pages/Transactions/Transactions.js b/new-lamassu-admin/src/pages/Transactions/Transactions.js index f201e3ed..4c3f3605 100644 --- a/new-lamassu-admin/src/pages/Transactions/Transactions.js +++ b/new-lamassu-admin/src/pages/Transactions/Transactions.js @@ -117,7 +117,7 @@ const Transactions = () => { }, { header: 'Cash', - width: 126, + width: 144, textAlign: 'right', size: 'sm', view: it => `${Number.parseFloat(it.fiat)} ${it.fiatCode}` @@ -141,17 +141,10 @@ const Transactions = () => { }, { 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', size: 'sm', - width: 135 - }, - { - header: 'Time (UTC)', - view: it => moment.utc(it.created).format('HH:mm:ss'), - textAlign: 'right', - size: 'sm', - width: 130 + width: 195 }, { header: 'Status',