fix new destination
This commit is contained in:
parent
2b518e2291
commit
8e3469bdff
1 changed files with 2 additions and 0 deletions
|
|
@ -36,8 +36,10 @@ public function mount(?string $server_id = null)
|
|||
$this->servers = Server::isUsable()->get();
|
||||
if ($server_id) {
|
||||
$this->selectedServer = $this->servers->find($server_id);
|
||||
$this->serverId = $this->selectedServer->id;
|
||||
} else {
|
||||
$this->selectedServer = $this->servers->first();
|
||||
$this->serverId = $this->selectedServer->id;
|
||||
}
|
||||
$this->generateName();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue