mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-19 19:08:24 +03:00
Auto expand the startup command
This commit is contained in:
@@ -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(),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user