fix: sort servers by name
This commit is contained in:
@@ -326,7 +326,7 @@ class Select extends Component
|
|||||||
|
|
||||||
public function loadServers()
|
public function loadServers()
|
||||||
{
|
{
|
||||||
$this->servers = Server::isUsable()->get();
|
$this->servers = Server::isUsable()->get()->sortBy('name');
|
||||||
$this->allServers = $this->servers;
|
$this->allServers = $this->servers;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user