mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 09:00:27 +00:00
Update ManageHostingSubscriptionFileManager.php
This commit is contained in:
parent
d7ce82f90a
commit
abff1cd498
1 changed files with 6 additions and 6 deletions
|
@ -112,11 +112,11 @@ class ManageHostingSubscriptionFileManager extends ViewRecord implements HasTabl
|
||||||
->actions([
|
->actions([
|
||||||
|
|
||||||
ActionGroup::make([
|
ActionGroup::make([
|
||||||
ViewAction::make('open')
|
// ViewAction::make('open')
|
||||||
->label('Open')
|
// ->label('Open')
|
||||||
->hidden(fn (FileItem $record): bool => ! $record->canOpen())
|
// ->hidden(fn (FileItem $record): bool => ! $record->canOpen())
|
||||||
->url(fn (FileItem $record): string => $storage->url($record->path))
|
// ->url(fn (FileItem $record): string => $storage->url($record->path))
|
||||||
->openUrlInNewTab(),
|
// ->openUrlInNewTab(),
|
||||||
Action::make('download')
|
Action::make('download')
|
||||||
->label('Download')
|
->label('Download')
|
||||||
->icon('heroicon-o-document-arrow-down')
|
->icon('heroicon-o-document-arrow-down')
|
||||||
|
|
Loading…
Reference in a new issue