Skip to content

Commit

Permalink
adjust logic when a pager is used on views
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Nov 5, 2024
1 parent 465eb1a commit 5009c2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const ListParagraph = async ({paragraph, ...props}: Props) => {
paragraph.suListView?.pageSize
)
: {items: [], totalItems: 0}
const addLoadMore = (paragraph.suListView?.pageSize || 3) > 30
const addLoadMore = (paragraph.suListView?.pageSize || 31) > 30

if (behaviors.list_paragraph?.hide_empty && viewItems.length === 0) return null

Expand Down

0 comments on commit 5009c2d

Please sign in to comment.