Open valtlfelipe opened 3 years ago
I added pagination
but I ran into a problem whenever I refresh, the old list remains and a new whole list gets added below it.
How are you querying the API? Because there is a limit
and a page
property.
The limit
should be a fixed value, the page
should only incremente for each new page, and the API will return only new data, which you then push to the current array of this view.
yeah I am using that only '
I will create a pull a pull request to show
Could you please open a draft pull request, so I can have a look and help you better.
Add pagination to incidents and maintenances lists. Statuspage API doc: https://developer.statuspage.io/#operation/getPagesPageIdIncidents