Skip to content

Commit

Permalink
Pagination fix (#3344)
Browse files Browse the repository at this point in the history
Fix dashboard pagination structure
  • Loading branch information
MVarshini authored Mar 21, 2023
1 parent 1f5cd39 commit 1dc3a3e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.main-page-container {
position: relative;
height: 100%;
.spinner-container {
width: 15%;
height: 15%;
Expand Down
22 changes: 11 additions & 11 deletions dashboard/src/modules/components/TableComponent/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,21 +235,21 @@ const TableWithFavorite = () => {
)}
</Tbody>
</TableComposable>
<TablePagination
numberOfRows={
isSelected === "datasetListButton"
? tableData.length
: favoriteRepoNames.length
}
page={page}
setPage={setPage}
perPage={perPage}
setPerPage={setPerPage}
/>
</InnerScrollContainer>
</OuterScrollContainer>
</div>
</div>
<TablePagination
numberOfRows={
isSelected === "datasetListButton"
? tableData.length
: favoriteRepoNames.length
}
page={page}
setPage={setPage}
perPage={perPage}
setPerPage={setPerPage}
/>
</>
);
};
Expand Down

0 comments on commit 1dc3a3e

Please sign in to comment.