mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Fix update egg from url (#492)
This commit is contained in:
@@ -249,9 +249,9 @@ class EditEgg extends EditRecord
|
||||
Tab::make('From URL')
|
||||
->icon('tabler-world-upload')
|
||||
->schema([
|
||||
TextInput::make('update_url')
|
||||
TextInput::make('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)')
|
||||
->url(),
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user