Skip to content

Commit

Permalink
fix(org): hide pagination when there are no org repos (#786)
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Apr 2, 2024
1 parent 527416c commit f7e9296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/elm/Pages/Org_.elm
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ view shared route model =
]
[ span [] []
, Components.Pager.view
{ show = True
{ show = RemoteData.unwrap 0 List.length model.repos > 0
, links = model.pager
, labels = Components.Pager.prevNextLabels
, msg = GotoPage
Expand Down Expand Up @@ -239,7 +239,7 @@ view shared route model =
]
]
, Components.Pager.view
{ show = True
{ show = RemoteData.unwrap 0 List.length model.repos > 0
, links = model.pager
, labels = Components.Pager.prevNextLabels
, msg = GotoPage
Expand Down

0 comments on commit f7e9296

Please sign in to comment.