Skip to content

Commit

Permalink
update: sort peers descending by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Roardom committed Aug 3, 2023
1 parent 981f3e1 commit 480c31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Livewire/PeerSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ final public function sortBy($field): void
if ($this->sortField === $field) {
$this->sortDirection = $this->sortDirection === 'asc' ? 'desc' : 'asc';
} else {
$this->sortDirection = 'asc';
$this->sortDirection = 'desc';
}

$this->sortField = $field;
Expand Down

0 comments on commit 480c31a

Please sign in to comment.