mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 16:44:44 +02:00
remove unused imports / options
This commit is contained in:
parent
ceb365b95c
commit
f26628a546
@ -497,9 +497,7 @@ class ServerResource extends Resource
|
|||||||
|
|
||||||
Forms\Components\Repeater::make('server_variables')
|
Forms\Components\Repeater::make('server_variables')
|
||||||
->relationship('serverVariables')
|
->relationship('serverVariables')
|
||||||
->grid(2)
|
->grid()
|
||||||
->reorderable(false)
|
|
||||||
->addable(false)
|
|
||||||
->deletable(false)
|
->deletable(false)
|
||||||
->default([])
|
->default([])
|
||||||
->hidden(fn ($state) => empty($state))
|
->hidden(fn ($state) => empty($state))
|
||||||
@ -519,7 +517,6 @@ class ServerResource extends Resource
|
|||||||
},
|
},
|
||||||
])
|
])
|
||||||
->label(fn (ServerVariable $variable) => $variable->variable->name)
|
->label(fn (ServerVariable $variable) => $variable->variable->name)
|
||||||
//->hint('Rule')
|
|
||||||
->hintIcon('tabler-code')
|
->hintIcon('tabler-code')
|
||||||
->hintIconTooltip(fn (ServerVariable $variable) => $variable->variable->rules)
|
->hintIconTooltip(fn (ServerVariable $variable) => $variable->variable->rules)
|
||||||
->prefix(fn (ServerVariable $variable) => '{{' . $variable->variable->env_variable . '}}')
|
->prefix(fn (ServerVariable $variable) => '{{' . $variable->variable->env_variable . '}}')
|
||||||
|
@ -9,7 +9,6 @@ use App\Models\Allocation;
|
|||||||
use App\Models\Egg;
|
use App\Models\Egg;
|
||||||
use App\Models\Node;
|
use App\Models\Node;
|
||||||
use App\Models\Server;
|
use App\Models\Server;
|
||||||
use App\Models\ServerVariable;
|
|
||||||
use App\Repositories\Daemon\DaemonServerRepository;
|
use App\Repositories\Daemon\DaemonServerRepository;
|
||||||
use App\Services\Allocations\AssignmentService;
|
use App\Services\Allocations\AssignmentService;
|
||||||
use App\Services\Servers\ServerCreationService;
|
use App\Services\Servers\ServerCreationService;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user