Skip to content

Disable pagination buttons when there are fewer than 10 records #107

@bkowshik

Description

@bkowshik

Describe the bug

Even when there are fewer than 10 records, pagination takes the user to the next "empty" page.

image

To Reproduce

  1. Visit Run Results for one of the runs and click on > button in the pagination.

Expected behavior

Button to navigate to the next page is disabled when there are less than 10 records.

image

Desktop

  • OS: Macbook Pro - 13.5 (22G74)
  • Browser Google Chrome
  • Version 131.0.6778.205 (Official Build) (arm64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions