mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
fix saving/editing server egg vars
This commit is contained in:
parent
137b6040ab
commit
383845ca62
@ -282,8 +282,6 @@ class EditServer extends EditRecord
|
||||
);
|
||||
}),
|
||||
|
||||
Forms\Components\Hidden::make('environment')->default([]),
|
||||
|
||||
Forms\Components\Hidden::make('start_on_completion')->default(true),
|
||||
|
||||
Forms\Components\Section::make('Egg Variables')
|
||||
@ -308,7 +306,7 @@ class EditServer extends EditRecord
|
||||
)
|
||||
->grid()
|
||||
->deletable(false)
|
||||
->default([])
|
||||
->addable(false)
|
||||
->hidden(fn ($state) => empty($state))
|
||||
->schema([
|
||||
Forms\Components\TextInput::make('variable_value')
|
||||
|
Loading…
x
Reference in New Issue
Block a user