Skip to content

Commit

Permalink
fix sort
Browse files Browse the repository at this point in the history
  • Loading branch information
riasvdv committed Sep 26, 2024
1 parent 7838a35 commit cdbf55e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/Livewire/RepositoriesComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ public function updatedSearch(): void
$this->loadRepositories();
}

public function updatedSort(): void
{
$this->repositories = collect();
$this->loadRepositories();
}

public function loadMore(): void
{
$this->loadRepositories(loadingMore: true);
Expand Down

0 comments on commit cdbf55e

Please sign in to comment.