fix small issue
This commit is contained in:
parent
c66f250cd9
commit
1cafa02ba5
@ -13,11 +13,13 @@ class BackupEdit extends Component
|
|||||||
'backup.enabled' => 'required|boolean',
|
'backup.enabled' => 'required|boolean',
|
||||||
'backup.frequency' => 'required|string',
|
'backup.frequency' => 'required|string',
|
||||||
'backup.number_of_backups_locally' => 'required|integer|min:1',
|
'backup.number_of_backups_locally' => 'required|integer|min:1',
|
||||||
|
'backup.save_s3' => 'required|boolean',
|
||||||
];
|
];
|
||||||
protected $validationAttributes = [
|
protected $validationAttributes = [
|
||||||
'backup.enabled' => 'Enabled',
|
'backup.enabled' => 'Enabled',
|
||||||
'backup.frequency' => 'Frequency',
|
'backup.frequency' => 'Frequency',
|
||||||
'backup.number_of_backups_locally' => 'Number of Backups Locally',
|
'backup.number_of_backups_locally' => 'Number of Backups Locally',
|
||||||
|
'backup.save_s3' => 'Save to S3',
|
||||||
];
|
];
|
||||||
|
|
||||||
public function mount()
|
public function mount()
|
||||||
@ -25,6 +27,7 @@ class BackupEdit extends Component
|
|||||||
$this->parameters = get_route_parameters();
|
$this->parameters = get_route_parameters();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function delete()
|
public function delete()
|
||||||
{
|
{
|
||||||
// TODO: Delete backup from server and add a confirmation modal
|
// TODO: Delete backup from server and add a confirmation modal
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<livewire:project.database.backup-execution :execution="$execution" :wire:key="$execution->id"/>
|
<livewire:project.database.backup-execution :execution="$execution" :wire:key="$execution->id"/>
|
||||||
</form>
|
</form>
|
||||||
@empty
|
@empty
|
||||||
<div>No logs found.</div>
|
<div>No executions found.</div>
|
||||||
@endforelse
|
@endforelse
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user