fix: new destination

This commit is contained in:
Andras Bacsai 2023-05-05 13:11:04 +02:00
parent cefb9e825d
commit a7ff6e157d

View File

@ -25,6 +25,8 @@ class StandaloneDocker extends Component
{ {
if (request()->query('server_id')) { if (request()->query('server_id')) {
$this->server_id = request()->query('server_id'); $this->server_id = request()->query('server_id');
} else {
$this->server_id = Server::first()->id;
} }
$this->network = new Cuid2(7); $this->network = new Cuid2(7);
$this->name = generateRandomName(); $this->name = generateRandomName();