mirror of
https://github.com/pelican-dev/panel.git
synced 2025-09-16 19:04:44 +02:00
add icon
This commit is contained in:
parent
bff4098951
commit
e9ab7f6976
@ -19,6 +19,8 @@ class ExportEggAction extends Action
|
|||||||
|
|
||||||
$this->label(trans('filament-actions::export.modal.actions.export.label'));
|
$this->label(trans('filament-actions::export.modal.actions.export.label'));
|
||||||
|
|
||||||
|
$this->icon('tabler-download');
|
||||||
|
|
||||||
$this->authorize(fn () => auth()->user()->can('export egg'));
|
$this->authorize(fn () => auth()->user()->can('export egg'));
|
||||||
|
|
||||||
$this->action(fn (EggExporterService $service, Egg $egg) => response()->streamDownload(function () use ($service, $egg) {
|
$this->action(fn (EggExporterService $service, Egg $egg) => response()->streamDownload(function () use ($service, $egg) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user