remove search bar

This commit is contained in:
notCharles 2024-04-22 18:48:09 -04:00
parent 2f82229048
commit 426b82754d
3 changed files with 3 additions and 1 deletions

View File

@ -182,6 +182,7 @@ class EggResource extends Resource
public static function table(Table $table): Table public static function table(Table $table): Table
{ {
return $table return $table
->searchable(false)
->defaultPaginationPageOption(25) ->defaultPaginationPageOption(25)
->checkIfRecordIsSelectableUsing(fn (Egg $egg) => $egg->servers_count <= 0) ->checkIfRecordIsSelectableUsing(fn (Egg $egg) => $egg->servers_count <= 0)
->columns([ ->columns([

View File

@ -194,7 +194,7 @@ class EditNode extends EditRecord
->maxValue(65535) ->maxValue(65535)
->numeric(), ->numeric(),
Forms\Components\TextInput::make('ip_alias') Forms\Components\TextInput::make('ip_alias')
->placeholder('mincraft.pelican.dev') ->placeholder('minecraft.pelican.dev')
->columnSpan([ ->columnSpan([
'default' => 1, 'default' => 1,
'sm' => 2, 'sm' => 2,

View File

@ -616,6 +616,7 @@ class ServerResource extends Resource
public static function table(Table $table): Table public static function table(Table $table): Table
{ {
return $table return $table
->searchable(false)
->columns([ ->columns([
Tables\Columns\TextColumn::make('status') Tables\Columns\TextColumn::make('status')
->default('unknown') ->default('unknown')