An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(core): update service status refresh event handling
Andras Bacsai6e802f43ba45
diff --git a/app/Livewire/Project/Service/Configuration.php b/app/Livewire/Project/Service/Configuration.phpindex d1744b1786..b36a860cee 100644--- a/app/Livewire/Project/Service/Configuration.php+++ b/app/Livewire/Project/Service/Configuration.php@@ -32,7 +32,7 @@ class Configuration extends Componentreturn ["echo-private:user.{$userId},ServiceStatusChanged" => 'check_status','check_status',- 'refresh' => '$refresh',+ 'refreshStatus' => '$refresh',];}@@ -99,7 +99,7 @@ class Configuration extends Component$this->service->databases->each(function ($database) {$database->refresh();});- $this->dispatch('refresh');+ $this->dispatch('refreshStatus');} catch (\Exception $e) {return handleError($e, $this);}diff --git a/app/Livewire/Project/Service/Navbar.php b/app/Livewire/Project/Service/Navbar.phpindex e6a1271e10..5da425cbd1 100644--- a/app/Livewire/Project/Service/Navbar.php+++ b/app/Livewire/Project/Service/Navbar.php@@ -40,6 +40,7 @@ class Navbar extends Componentreturn ["echo-private:user.{$userId},ServiceStatusChanged" => 'serviceStarted','envsUpdated' => '$refresh',+ 'refreshStatus' => '$refresh',];}