From 17e1da61f3da487a7d6c54dd0ba6de34f89bc570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Salgado?= Date: Wed, 10 Feb 2021 15:21:25 +0000 Subject: [PATCH] feat: transactions page polling feat: DataTable row aware of data to trigger expansion fix: polling interval --- .../src/components/tables/DataTable.js | 23 +++++++++++++------ .../src/pages/Transactions/Transactions.js | 3 ++- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/new-lamassu-admin/src/components/tables/DataTable.js b/new-lamassu-admin/src/components/tables/DataTable.js index 2c49c7b9..1855a234 100644 --- a/new-lamassu-admin/src/components/tables/DataTable.js +++ b/new-lamassu-admin/src/components/tables/DataTable.js @@ -54,7 +54,7 @@ const Row = ({ size={size} className={classnames(trClasses)} onClick={() => { - expandable && expandRow(id) + expandable && expandRow(id, data) onClick && onClick(data) }} error={data.error} @@ -67,7 +67,7 @@ const Row = ({ {expandable && (