mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-21 01:04:44 +02:00
Fix update egg from url (#492)
This commit is contained in:
parent
833ae30e59
commit
8a3d67ada0
@ -249,9 +249,9 @@ class EditEgg extends EditRecord
|
|||||||
Tab::make('From URL')
|
Tab::make('From URL')
|
||||||
->icon('tabler-world-upload')
|
->icon('tabler-world-upload')
|
||||||
->schema([
|
->schema([
|
||||||
TextInput::make('update_url')
|
TextInput::make('url')
|
||||||
->label('URL')
|
->label('URL')
|
||||||
->formatStateUsing(fn (Egg $egg): string => $egg->update_url)
|
->default(fn (Egg $egg): string => $egg->update_url)
|
||||||
->hint('Link to the egg file (eg. minecraft.json)')
|
->hint('Link to the egg file (eg. minecraft.json)')
|
||||||
->url(),
|
->url(),
|
||||||
]),
|
]),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user