mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-22 16:14:22 +02:00
fix: service ui sync bug
This commit is contained in:
parent
e0bac2499d
commit
d586aa0377
@ -76,6 +76,12 @@ public function check_status()
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
GetContainersStatus::run($this->service->server);
|
GetContainersStatus::run($this->service->server);
|
||||||
|
$this->service->applications->each(function ($application) {
|
||||||
|
$application->refresh();
|
||||||
|
});
|
||||||
|
$this->service->databases->each(function ($database) {
|
||||||
|
$database->refresh();
|
||||||
|
});
|
||||||
$this->dispatch('$refresh');
|
$this->dispatch('$refresh');
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
return handleError($e, $this);
|
return handleError($e, $this);
|
||||||
|
Loading…
Reference in New Issue
Block a user