UI: Fixed Pagination issue on dataset details page (#9387)

This commit is contained in:
Shailesh Parmar 2022-12-19 10:27:47 +05:30 committed by GitHub
parent fa65480864
commit e1919af86a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -610,6 +610,7 @@ const DatabaseSchemaPage: FunctionComponent = () => {
rowKey="id" rowKey="id"
size="small" size="small"
/> />
{tableInstanceCount > PAGE_SIZE && tableData.length > 0 && (
<NextPrevious <NextPrevious
isNumberBased isNumberBased
currentPage={currentTablesPage} currentPage={currentTablesPage}
@ -618,6 +619,7 @@ const DatabaseSchemaPage: FunctionComponent = () => {
pagingHandler={tablePaginationHandler} pagingHandler={tablePaginationHandler}
totalCount={tableInstanceCount} totalCount={tableInstanceCount}
/> />
)}
</> </>
); );
}; };