Skip to content

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.

Fix Alpine state reference and remove unused property in upgrade modal

Andras Bacsaib7fcb0f362e8
diff --git a/app/Livewire/Upgrade.php b/app/Livewire/Upgrade.php
index e50085c64e..f13baa7a7d 100644
--- a/app/Livewire/Upgrade.php
+++ b/app/Livewire/Upgrade.php
@@ -8,8 +8,6 @@ use Livewire\Component;
class Upgrade extends Component
{
- public bool $showProgress = false;
-
public bool $updateInProgress = false;
public bool $isUpgradeAvailable = false;
diff --git a/resources/views/livewire/upgrade.blade.php b/resources/views/livewire/upgrade.blade.php
index 4063f19efb..37e43935d6 100644
--- a/resources/views/livewire/upgrade.blade.php
+++ b/resources/views/livewire/upgrade.blade.php
@@ -152,7 +152,7 @@
}, 2000);
},
upgrade() {
- if (this.checkIfIamDeadInterval || this.$wire.showProgress) return true;
+ if (this.checkIfIamDeadInterval || this.showProgress) return true;
this.currentStatus = 'Update in progress. Pulling new images and preparing to restart Coolify...';
this.checkIfIamDeadInterval = setInterval(() => {
fetch('/api/health')