mirror of
https://github.com/pelican-dev/panel.git
synced 2025-06-10 20:18:58 +02:00
Disable this if there’s no egg
This commit is contained in:
parent
71684dc517
commit
2e7c534a3b
@ -286,6 +286,7 @@ class CreateServer extends CreateRecord
|
|||||||
->label('Startup Command')
|
->label('Startup Command')
|
||||||
->required()
|
->required()
|
||||||
->live()
|
->live()
|
||||||
|
->disabled(fn (Forms\Get $get) => $this->egg === null)
|
||||||
->columnSpan([
|
->columnSpan([
|
||||||
'default' => 2,
|
'default' => 2,
|
||||||
'sm' => 4,
|
'sm' => 4,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user