From d586aa03775e41742863ed4bbfee1300d3fe5eba Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 29 Aug 2024 13:00:43 +0200 Subject: [PATCH] fix: service ui sync bug --- app/Livewire/Project/Service/Configuration.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Livewire/Project/Service/Configuration.php b/app/Livewire/Project/Service/Configuration.php index 8ad6750a3..fa44fdfbf 100644 --- a/app/Livewire/Project/Service/Configuration.php +++ b/app/Livewire/Project/Service/Configuration.php @@ -76,6 +76,12 @@ class Configuration extends Component { try { GetContainersStatus::run($this->service->server); + $this->service->applications->each(function ($application) { + $application->refresh(); + }); + $this->service->databases->each(function ($database) { + $database->refresh(); + }); $this->dispatch('$refresh'); } catch (\Exception $e) { return handleError($e, $this);