From fe6073ba7d0f3cf03f8e33f274c7c06a36ddcc94 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 14 Dec 2023 15:01:19 +0100 Subject: [PATCH] fix: backup executions view --- app/Livewire/Project/Database/BackupExecutions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Livewire/Project/Database/BackupExecutions.php b/app/Livewire/Project/Database/BackupExecutions.php index a41336bda..f1918f990 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', []); } }