From 91732580460e84bc30d9b75ff4b24f4022dcaf44 Mon Sep 17 00:00:00 2001 From: deanchen Date: Fri, 1 Apr 2022 11:13:32 +0800 Subject: [PATCH] fix: hide grower detail --- src/components/common/CustomTable/CustomTable.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/common/CustomTable/CustomTable.js b/src/components/common/CustomTable/CustomTable.js index 518653818..658aa529b 100644 --- a/src/components/common/CustomTable/CustomTable.js +++ b/src/components/common/CustomTable/CustomTable.js @@ -515,12 +515,17 @@ function CustomTable(props) { {row[column.name]} handleShowGrowerDetail(e, row)} + onClick={() => { + console.warn( + 'disabled grower details' + ); /*handleShowGrowerDetail(e, row)*/ + }} aria-label={`View/Edit Grower details`} title={`View/Edit Grower details`} style={{ padding: '0 2px 2px 0' }} + disabled > - +