Skip to content

Commit

Permalink
Check models value
Browse files Browse the repository at this point in the history
  • Loading branch information
francoism90 authored Oct 17, 2024
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
Expand Up @@ -25,7 +25,7 @@ public function bootWithScroll(): void

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

0 comments on commit 019b5e9

Please sign in to comment.