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
hmm
Andras Bacsai4071e096bc6a
diff --git a/app/Livewire/Project/Service/Index.php b/app/Livewire/Project/Service/Index.phpindex b40a115d54..4f3f9ce118 100644--- a/app/Livewire/Project/Service/Index.php+++ b/app/Livewire/Project/Service/Index.php@@ -38,7 +38,6 @@ class Index extends Component{dispatch_sync(new ContainerStatusJob($this->service->server));$this->refreshStacks();- $this->dispatch('updateStatus');}public function refreshStacks(){diff --git a/app/Livewire/Project/Service/Navbar.php b/app/Livewire/Project/Service/Navbar.phpindex 537ae9e627..0fe5e6bd9b 100644--- a/app/Livewire/Project/Service/Navbar.php+++ b/app/Livewire/Project/Service/Navbar.php@@ -16,8 +16,7 @@ class Navbar extends Componentpublic array $query;public $isDeploymentProgress = false;- public function checkDeployments()- {+ public function checkDeployments() {$activity = Activity::where('properties->type_uuid', $this->service->uuid)->latest()->first();$status = data_get($activity, 'properties.status');if ($status === 'queued' || $status === 'in_progress') {@@ -28,10 +27,15 @@ class Navbar extends Component}public function getListeners(){+ $userId = auth()->user()->id;return [- "updateStatus" => 'checkStatus',+ "echo-private:custom.{$userId},ServiceStatusChanged" => 'serviceStatusChanged',];}+ public function serviceStatusChanged()+ {+ $this->service->refresh();+ }public function render(){return view('livewire.project.service.navbar');