fix: boarding

This commit is contained in:
Andras Bacsai
2023-10-20 18:15:25 +02:00
parent 5d9cfc393e
commit fae340afcb
6 changed files with 11 additions and 11 deletions

View File

@@ -213,7 +213,7 @@ uZx9iFkCELtxrh31QJ68AAAAEXNhaWxANzZmZjY2ZDJlMmRkAQIDBA==
]);
$this->getProxyType();
} catch (\Throwable $e) {
$this->dockerInstallationStarted = false;
// $this->dockerInstallationStarted = false;
return handleError(error: $e, customErrorMessage: $customErrorMessage, livewire: $this);
}
}

View File

@@ -122,9 +122,9 @@ class Server extends BaseModel
public function databases()
{
return $this->destinations()->map(function ($standaloneDocker) {
$postgresqls = $standaloneDocker->postgresqls;
$redis = $standaloneDocker->redis;
$mongodbs = $standaloneDocker->mongodbs;
$postgresqls = data_get($standaloneDocker,'postgresqls',collect([]));
$redis = data_get($standaloneDocker,'redis',collect([]));
$mongodbs = data_get($standaloneDocker,'mongodbs',collect([]));
return $postgresqls->concat($redis)->concat($mongodbs);
})->flatten();
}