diff --git a/src/common/ResponsiveTable.tsx b/src/common/ResponsiveTable.tsx index 7e38c51..8f052d7 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) { ) - } */} + } ) @@ -376,9 +376,9 @@ export default function ResponsiveTable(props: Props) { return ( - + {/*
- {/* table actions */} + @@ -410,7 +410,7 @@ export default function ResponsiveTable(props: Props) { - {/* custom element */} + {customElement && @@ -419,11 +419,11 @@ export default function ResponsiveTable(props: Props) { } - {/* column headers */} + { 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,9 +526,9 @@ export default function ResponsiveTable(props: Props) { - } */} + } -
+ */} {!hidePagination &&