This commit is contained in:
Bozhidar 2024-05-09 15:16:11 +03:00
parent 079f18f728
commit 969cd8c376
2 changed files with 1 additions and 6 deletions

View file

@ -155,11 +155,6 @@ class ManageHostingSubscriptionBackups extends ManageRelatedRecords
}
return $hide;
})
->modalFooterActions([
Tables\Actions\Action::make('Close')
->color('secondary')
->action(fn () => $this->closeTableActionModal()),
])
->modalContent(function (HostingSubscriptionBackup $backup) {
return view('filament.modals.view-livewire-component', [
'component' => 'hosting-subscription-backup-log',

View file

@ -124,7 +124,7 @@ class HostingSubscriptionBackup extends Model
$checkProcess = shell_exec('ps -p ' . $this->process_id . ' | grep ' . $this->process_id);
if (Str::contains($checkProcess, $this->process_id)) {
$this->size = Helpers::checkPathSize($this->temp_path);
$this->size = 0;
$this->save();
return [