Show pagination only when multiple pages exist in table
Closed this issue · 0 comments
iporollo commented
Description
Every table view in the UI has pagination that shows a single number when there's less than one page.
Expected behavior
Pagination should only be rendered if there are multiple table pages. This should be done by checking if there is more than a certain amount of elements and then displaying pagination accordingly.
Steps to reproduce
- Go to any page that has a table view (data sources, integrations, monitors, etc.)
- Notice that the pagination is showing but the table only has one page