mirror of
https://github.com/pelican-dev/panel.git
synced 2025-09-08 09:38:37 +02:00
fix state for custom_startup input
This commit is contained in:
parent
9c6eb160b3
commit
d66075129c
@ -48,7 +48,7 @@ class Startup extends ServerFormPage
|
|||||||
->label(trans('server/startup.command'))
|
->label(trans('server/startup.command'))
|
||||||
->readOnly()
|
->readOnly()
|
||||||
->visible(fn (Server $server) => !in_array($server->startup, $server->egg->startup_commands))
|
->visible(fn (Server $server) => !in_array($server->startup, $server->egg->startup_commands))
|
||||||
->formatStateUsing(fn (Server $server) => $server->startup)
|
->formatStateUsing(fn () => 'Custom Startup')
|
||||||
->columnSpan([
|
->columnSpan([
|
||||||
'default' => 1,
|
'default' => 1,
|
||||||
'sm' => 1,
|
'sm' => 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user