diff --git a/web/app/Filament/Resources/BackupResource.php b/web/app/Filament/Resources/BackupResource.php index a734b63..f4b1195 100644 --- a/web/app/Filament/Resources/BackupResource.php +++ b/web/app/Filament/Resources/BackupResource.php @@ -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 {