Skip to content

Commit

Permalink
Raise threshold for pagination to 40 future events
Browse files Browse the repository at this point in the history
  • Loading branch information
James Walker committed Dec 17, 2024
1 parent 7557b4b commit fbeb18d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Theme/Page/Partner.elm
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ viewPartnerEvents events localModel partner =
in
section [ id "events" ]
(if List.length futureEvents > 0 then
-- If we have more than 20 future events paginate
if List.length futureEvents > 20 then
-- If we have more than 40 future events paginate
if List.length futureEvents > 40 then
[ eventAreaTitle
, Theme.Paginator.viewPagination localModel |> Html.Styled.map Theme.Page.Events.fromPaginatorMsg
, Theme.Page.Events.viewEventsList localModel events Nothing
Expand Down

0 comments on commit fbeb18d

Please sign in to comment.