mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
Update ManageHostingSubscriptionFileManager.php
This commit is contained in:
parent
33b2b07e8d
commit
08e0983e66
1 changed files with 10 additions and 10 deletions
|
@ -144,18 +144,18 @@ class ManageHostingSubscriptionFileManager extends ViewRecord implements HasTabl
|
|||
}),
|
||||
])
|
||||
->checkIfRecordIsSelectableUsing(fn (FileItem $record): bool => ! $record->isPreviousPath())
|
||||
// ->headerActionsPosition(HeaderActionsPosition::Bottom)
|
||||
->headerActionsPosition(HeaderActionsPosition::Bottom)
|
||||
->headerActions([
|
||||
|
||||
Action::make('home')
|
||||
->label('Home')
|
||||
->action(fn () => $this->path = '')
|
||||
->icon('heroicon-o-home'),
|
||||
|
||||
Action::make('back')
|
||||
->label('Back')
|
||||
->action(fn () => $this->path = dirname($this->path))
|
||||
->icon('heroicon-o-arrow-left'),
|
||||
// Action::make('home')
|
||||
// ->label('Home')
|
||||
// ->action(fn () => $this->path = '')
|
||||
// ->icon('heroicon-o-home'),
|
||||
//
|
||||
// Action::make('back')
|
||||
// ->label('Back')
|
||||
// ->action(fn () => $this->path = dirname($this->path))
|
||||
// ->icon('heroicon-o-arrow-left'),
|
||||
|
||||
Action::make('create_folder')
|
||||
->label('Create Folder')
|
||||
|
|
Loading…
Reference in a new issue