server
server copied to clipboard
[ENHANCEMENT]: webUI: Refactor pagination logic to use backend next/prev links instead of internal index
Description
Refactor the table pagination logic to check the links.next and links.prev properties from the backend API response.
Disable "Next" / "Previous" buttons based on the presence (or absence) of these links, rather than the frontend’s internal index.
Keep the internal index only for display purposes (e.g., showing the current page number), but not as the source of truth for whether navigation is possible.