wip
This commit is contained in:
@@ -22,7 +22,7 @@ class Form extends Component
|
||||
}
|
||||
public function delete()
|
||||
{
|
||||
instantRemoteProcess(['docker network rm -f ' . $this->destination->network], $this->destination->server);
|
||||
// instantRemoteProcess(['docker network rm -f ' . $this->destination->network], $this->destination->server);
|
||||
$this->destination->delete();
|
||||
return redirect()->route('dashboard');
|
||||
}
|
||||
|
||||
@@ -98,8 +98,12 @@ class GithubPrivateRepository extends Component
|
||||
}
|
||||
public function loadServers()
|
||||
{
|
||||
$this->servers = Server::validated();
|
||||
$this->selected_server_id = $this->servers[0]['id'];
|
||||
try {
|
||||
$this->servers = Server::validated();
|
||||
$this->selected_server_id = $this->servers[0]['id'];
|
||||
} catch (\Exception $e) {
|
||||
return generalErrorHandler($e);
|
||||
}
|
||||
}
|
||||
public function loadDestinations()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user