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')
->relationship('serverVariables')
->grid(2)
->reorderable(false)
->addable(false)
->grid()
->deletable(false)
->default([])
->hidden(fn ($state) => empty($state))
@ -519,7 +517,6 @@ class ServerResource extends Resource
},
])
->label(fn (ServerVariable $variable) => $variable->variable->name)
//->hint('Rule')
->hintIcon('tabler-code')
->hintIconTooltip(fn (ServerVariable $variable) => $variable->variable->rules)
->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\Node;
use App\Models\Server;
use App\Models\ServerVariable;
use App\Repositories\Daemon\DaemonServerRepository;
use App\Services\Allocations\AssignmentService;
use App\Services\Servers\ServerCreationService;