WikiEducationFoundation / WikiEduDashboard

Wiki Education Foundation's Wikipedia course dashboard system
https://dashboard.wikiedu.org
MIT License
385 stars 600 forks source link

Articles tab of course page shows 'Previous' and 'Next' buttons when there is only 1 page #5873

Open ragesoss opened 6 days ago

ragesoss commented 6 days ago

What is happening?

The pagination controls for the Articles Edited list are rendering even when there is only a single page of results. This is a regression, as it used to work properly.

For example: https://dashboard.wikiedu.org/courses/Temple_University/The_Destruction_of_Images_(Spring_2024)/articles/edited?

Expected behavior

The pagination controls should only render if there is more than 1 page of results.