mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-31 19:58:58 +02:00
Fix 500 if update url is blank
This commit is contained in:
parent
acf43f2826
commit
8662806dfd
@ -251,7 +251,7 @@ class EditEgg extends EditRecord
|
|||||||
->schema([
|
->schema([
|
||||||
TextInput::make('url')
|
TextInput::make('url')
|
||||||
->label('URL')
|
->label('URL')
|
||||||
->default(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