Show number of records instead of pages in the table widget (#1734)

This commit is contained in:
Vivek Pandey 2020-11-18 18:20:04 +05:30 committed by GitHub
parent 2538444e20
commit de435ed009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,7 +173,7 @@ const TableHeader = (props: TableHeaderProps) => {
{!props.serverSidePaginationEnabled && (
<PaginationWrapper>
<RowWrapper className="show-page-items">
Showing {props.currentPageIndex + 1}-{props.pageCount} items
Showing {props.currentPageIndex + 1}-{props.tableData?.length} items
</RowWrapper>
<PaginationItemWrapper
className="t--table-widget-prev-page"