fix: service ui sync bug

This commit is contained in:
Andras Bacsai 2024-08-29 13:00:43 +02:00
parent e0bac2499d
commit d586aa0377

View File

@ -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);