fix new destination
This commit is contained in:
@@ -36,8 +36,10 @@ class Docker extends Component
|
|||||||
$this->servers = Server::isUsable()->get();
|
$this->servers = Server::isUsable()->get();
|
||||||
if ($server_id) {
|
if ($server_id) {
|
||||||
$this->selectedServer = $this->servers->find($server_id);
|
$this->selectedServer = $this->servers->find($server_id);
|
||||||
|
$this->serverId = $this->selectedServer->id;
|
||||||
} else {
|
} else {
|
||||||
$this->selectedServer = $this->servers->first();
|
$this->selectedServer = $this->servers->first();
|
||||||
|
$this->serverId = $this->selectedServer->id;
|
||||||
}
|
}
|
||||||
$this->generateName();
|
$this->generateName();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user