Skip to content

Commit

Permalink
Check models value
Browse files Browse the repository at this point in the history
francoism90 authored Oct 17, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 07516d6 commit 019b5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layout/Concerns/WithScroll.php
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ public function bootWithScroll(): void

public function mountWithScroll(): void
{
if ($this->items->isEmpty()) {
if ($this->models->isEmpty()) {
$this->fillPageItems();
}
}

0 comments on commit 019b5e9

Please sign in to comment.