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: move restart count reset logic to the correct position in the restart method
Andras Bacsai761f177b1eb3
diff --git a/app/Livewire/Project/Application/Heading.php b/app/Livewire/Project/Application/Heading.phpindex 7aa8041a4b..c89baea67d 100644--- a/app/Livewire/Project/Application/Heading.php+++ b/app/Livewire/Project/Application/Heading.php@@ -157,13 +157,6 @@ class Heading extends Componentreturn;}- // Reset restart count on manual restart- $this->application->update([- 'restart_count' => 0,- 'last_restart_at' => now(),- 'last_restart_type' => 'manual',- ]);-$this->setDeploymentUuid();$result = queue_application_deployment(application: $this->application,@@ -176,6 +169,13 @@ class Heading extends Componentreturn;}+ // Reset restart count on manual restart+ $this->application->update([+ 'restart_count' => 0,+ 'last_restart_at' => now(),+ 'last_restart_type' => 'manual',+ ]);+return $this->redirectRoute('project.application.deployment.show', ['project_uuid' => $this->parameters['project_uuid'],'application_uuid' => $this->parameters['application_uuid'],