Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Apr 26, 2024
1 parent 18e7dce commit 220430a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,13 @@ public function infolist(Infolist $infolist): Infolist
return $infolist
->columns(1)
->schema([
TextEntry::make('id')->label('id'),
//TextEntry::make('id')->label('id'),
TextEntry::make('backup_type')->label('Backup Type'),
TextEntry::make('status')->label('Status'),
TextEntry::make('completed_at')->label('Completed At'),
TextEntry::make('size')->label('Size'),
TextEntry::make('path')->label('Path'),
TextEntry::make('filepath')->label('File Path'),
]);
}

Expand Down Expand Up @@ -120,8 +126,8 @@ public function table(Table $table): Table
//
])
->actions([
// Tables\Actions\ViewAction::make(),
Tables\Actions\EditAction::make(),
Tables\Actions\ViewAction::make(),
// Tables\Actions\EditAction::make(),
Tables\Actions\DeleteAction::make(),
])
->groupedBulkActions([
Expand Down
2 changes: 1 addition & 1 deletion web/app/Models/HostingSubscriptionBackup.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function startBackup()
if ($processId > 0 && is_numeric($processId)) {

$this->path = $findMainDomain->domain_root . '/backups';
$this->filepath = $backupTargetPath;
$this->filepath = $backupTargetFilePath;
$this->status = 'processing';
$this->queued = true;
$this->queued_at = now();
Expand Down

0 comments on commit 220430a

Please sign in to comment.