pyronear/new-pyro-platform

Button "Load more alerts" must not be displayed when there is less alerts than the initial max number of alert to display

Open

#160 opened on Jan 8, 2026

View on GitHub
 (1 comment) (0 reactions) (1 assignee)TypeScript (2 forks)auto 404
BLOCKEDgood first issuepage: Historypriority: low

Repository metrics

Stars
 (2 stars)
PR merge metrics
 (PR metrics pending)

Description

On the history page, for a given day selected, if there is less alerts to display than the initial max number to load, the "load more alerts" must not be displayed

What is done currently

The button "load more alerts" is displayed whatever the number of alerts to load, see the screenshot below

What has to be done

The button "load more alerts" must appears only if there are more alerts that the initial number of loaded alerts.

Thanks a lot for your help !

Contributor guide