mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
update
This commit is contained in:
parent
079f18f728
commit
969cd8c376
2 changed files with 1 additions and 6 deletions
|
@ -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',
|
||||
|
|
|
@ -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 [
|
||||
|
|
Loading…
Reference in a new issue