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: backup executions view

Andras Bacsaife6073ba7d0f
diff --git a/app/Livewire/Project/Database/BackupExecutions.php b/app/Livewire/Project/Database/BackupExecutions.php
index a41336bda8..f1918f990d 100644
--- a/app/Livewire/Project/Database/BackupExecutions.php
+++ b/app/Livewire/Project/Database/BackupExecutions.php
@@ -8,7 +8,7 @@ use Livewire\Component;
class BackupExecutions extends Component
{
public $backup;
- public $executions;
+ public $executions = [];
public $setDeletableBackup;
public function getListeners()
{
@@ -65,6 +65,6 @@ class BackupExecutions extends Component
}
public function refreshBackupExecutions(): void
{
- $this->executions = $this->backup->executions;
+ $this->executions = data_get($this->backup, 'executions', []);
}
}