mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
fix: sentry error
This commit is contained in:
parent
9525d91d55
commit
53d709467a
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class Docker extends Component
|
|||
$this->network = new Cuid2;
|
||||
$this->servers = Server::isUsable()->get();
|
||||
if ($server_id) {
|
||||
$this->selectedServer = $this->servers->find($server_id);
|
||||
$this->selectedServer = $this->servers->find($server_id) ?: $this->servers->first();
|
||||
$this->serverId = $this->selectedServer->id;
|
||||
} else {
|
||||
$this->selectedServer = $this->servers->first();
|
||||
|
|
|
|||
Loading…
Reference in a new issue