remove unused imports / options

This commit is contained in:
Charles 2024-04-23 06:40:12 -04:00
parent ceb365b95c
commit f26628a546
2 changed files with 1 additions and 5 deletions

View File

@ -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 . '}}')

View File

@ -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;