mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 15:34:44 +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([
|
||||
TextInput::make('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)')
|
||||
->url(),
|
||||
]),
|
||||
|
Loading…
x
Reference in New Issue
Block a user