Skip to content

Commit

Permalink
[BUGFIX] Hide pagination when there is only one page to be displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Kuhlmay committed May 29, 2024
1 parent 33e20b4 commit 3d93fbc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Resources/Private/Partials/Poll/List/Table.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@

<f:if condition="{pagination.paginator.paginatedItems -> f:count()} > 0">
<f:then>
<f:if condition="{settings.list.itemsPerPage} > 0">
<f:if condition="{pagination.paginator.numberOfPages} > 1">
<f:then>

<f:for each="{paginator.paginatedItems}" as="poll">
<f:render partial="Poll/List/Table/Row" arguments="{poll:poll}"/>
</f:for>
Expand Down

0 comments on commit 3d93fbc

Please sign in to comment.