commit
bb8e0eb7bf
@ -35,7 +35,7 @@ class BackupEdit extends Component
|
|||||||
public function mount()
|
public function mount()
|
||||||
{
|
{
|
||||||
$this->parameters = get_route_parameters();
|
$this->parameters = get_route_parameters();
|
||||||
if (is_null($this->backup->s3_storage_id)) {
|
if (is_null(data_get($this->backup, 's3_storage_id'))) {
|
||||||
$this->backup->s3_storage_id = 'default';
|
$this->backup->s3_storage_id = 'default';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ public function getListeners()
|
|||||||
|
|
||||||
public function cleanupFailed()
|
public function cleanupFailed()
|
||||||
{
|
{
|
||||||
$this->backup->executions()->where('status', 'failed')->delete();
|
$this->backup?->executions()->where('status', 'failed')->delete();
|
||||||
$this->refreshBackupExecutions();
|
$this->refreshBackupExecutions();
|
||||||
}
|
}
|
||||||
public function deleteBackup($exeuctionId)
|
public function deleteBackup($exeuctionId)
|
||||||
|
Loading…
Reference in New Issue
Block a user