mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 00:50:32 +00:00
Update BackupResource.php
This commit is contained in:
parent
8bd55a3156
commit
58856b8ae4
1 changed files with 3 additions and 3 deletions
|
@ -106,9 +106,9 @@ class BackupResource extends Resource
|
|||
|
||||
Tables\Actions\Action::make('cancel')
|
||||
->icon('heroicon-o-x-mark')
|
||||
// ->hidden(function (Backup $backup) {
|
||||
// return $backup->status !== BackupStatus::Processing;
|
||||
// })
|
||||
->hidden(function (Backup $backup) {
|
||||
return $backup->status !== BackupStatus::Processing;
|
||||
})
|
||||
->action(function (Backup $backup) {
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue