Skip to content

Commit 677952d

Browse files
committed
Fix edge case rendering maintainer pagination
1 parent 24122c0 commit 677952d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/maintainers/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@
3434
</ul>
3535

3636
<%= render @packages %>
37-
<%== pagy_bootstrap_nav(@pagy) if @pagy.pages > 1 %>
37+
<%== pagy_bootstrap_nav(@pagy) if @pagy.pages && @pagy.pages > 1 %>
3838
</div>

0 commit comments

Comments
 (0)