mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 10:24:45 +02:00
Auto expand the startup command
This commit is contained in:
parent
695ebd35a4
commit
15971aaa94
@ -265,9 +265,8 @@ class ServerResource extends Resource
|
||||
->required()
|
||||
->live()
|
||||
->rows(function ($state) {
|
||||
return str($state)->explode("\n")->reduce(fn (int $carry, $line)
|
||||
=> $carry + floor(strlen($line) / 125),
|
||||
0);
|
||||
return str($state)->explode("\n")->reduce(fn (int $carry, $line) => $carry + floor(strlen($line) / 125),
|
||||
0);
|
||||
})
|
||||
->columnSpanFull(),
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user