mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 14:34:44 +02:00
Add default Egg import url (#972)
This commit is contained in:
parent
b8c1b68328
commit
77bf70b063
@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Filament\Components\Actions;
|
||||
|
||||
use App\Models\Egg;
|
||||
use App\Services\Eggs\Sharing\EggImporterService;
|
||||
use Exception;
|
||||
use Filament\Actions\Action;
|
||||
@ -46,6 +47,7 @@ class ImportEggAction extends Action
|
||||
TextInput::make('url')
|
||||
->label('URL')
|
||||
->hint('This URL should point to a single json file')
|
||||
->default(fn (Egg $egg) => $egg->update_url)
|
||||
->url(),
|
||||
]),
|
||||
]),
|
||||
|
Loading…
x
Reference in New Issue
Block a user