From 2a8694ab918f46e8418a467345bd78e6572ecb67 Mon Sep 17 00:00:00 2001 From: csawatzky Date: Thu, 10 Apr 2025 12:47:21 -0600 Subject: [PATCH] commenitng out the references to length --- src/common/ResponsiveTable.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/common/ResponsiveTable.tsx b/src/common/ResponsiveTable.tsx index cf61442..7e38c51 100644 --- a/src/common/ResponsiveTable.tsx +++ b/src/common/ResponsiveTable.tsx @@ -349,7 +349,7 @@ export default function ResponsiveTable(props: Props) { ) })} - {(rows && rows.length < 1) && + {/* {(rows && rows.length < 1) && (!isLoading ? { noDataMessage ? noDataMessage : "No data."} @@ -359,7 +359,7 @@ export default function ResponsiveTable(props: Props) { ) - } + } */} ) @@ -423,7 +423,7 @@ export default function ResponsiveTable(props: Props) { { rowSelect && } { renderGutter && } - { columns ? + {/* { columns ? columns.map((column, index) => { if (filterList.includes(column.title) || column.hidden) return null return ( @@ -440,7 +440,7 @@ export default function ResponsiveTable(props: Props) { ) }) - } + } */} @@ -518,7 +518,7 @@ export default function ResponsiveTable(props: Props) { ) }) } - {(rows && rows.length)< 1 && !isLoading && + {/* {(rows && rows.length)< 1 && !isLoading && @@ -526,7 +526,7 @@ export default function ResponsiveTable(props: Props) { - } + } */} {!hidePagination &&