diff --git a/src/common/ResponsiveTable.tsx b/src/common/ResponsiveTable.tsx index 8f052d7..a68d172 100644 --- a/src/common/ResponsiveTable.tsx +++ b/src/common/ResponsiveTable.tsx @@ -305,63 +305,63 @@ export default function ResponsiveTable(props: Props) { } - if (isMobile || mobileView) return ( - - - {renderTitle()} - {renderSubtitle()} - {setSearchText && searchBar()} - - {rows.map((row, index) => { - return ( - onRowClick&&onRowClick(row)}> - {renderMobileRow(row)} - {renderGutter && - <> - - - {renderGutter(row)} - - {openGutters.includes(index) && } - handleCollapse(index, event)} - // style={{pre}} - > - - - - - - } - - ) - })} - {(rows && rows.length < 1) && - (!isLoading ? - - { noDataMessage ? noDataMessage : "No data."} - - : - - - - ) - } - - ) + // if (isMobile || mobileView) return ( + // + // + // {renderTitle()} + // {renderSubtitle()} + // {setSearchText && searchBar()} + // + // {rows.map((row, index) => { + // return ( + // onRowClick&&onRowClick(row)}> + // {renderMobileRow(row)} + // {renderGutter && + // <> + // + // + // {renderGutter(row)} + // + // {openGutters.includes(index) && } + // handleCollapse(index, event)} + // // style={{pre}} + // > + // + // + // + // + // + // } + // + // ) + // })} + // {(rows && rows.length < 1) && + // (!isLoading ? + // + // { noDataMessage ? noDataMessage : "No data."} + // + // : + // + // + // + // ) + // } + // + // ) const filter = (colName: string) => { let newFilterList = [...filterList] @@ -529,7 +529,7 @@ export default function ResponsiveTable(props: Props) { } */} - {!hidePagination && + {/* {!hidePagination && (props: Props) { onPageChange={(_event, page) => handlePageChange(page)} onRowsPerPageChange={handleRowsPerPageChange} /> - } - (props: Props) { ) })} - + */} ) } \ No newline at end of file