Merge branch 'next' into main

This commit is contained in:
Marvin von Rappard
2024-11-25 13:44:24 +01:00
committed by GitHub
25 changed files with 364 additions and 275 deletions

View File

@@ -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();