Skip to content

Commit ae4f72d

Browse files
committed
add searchable false to non existing table columns
1 parent 83d6f8f commit ae4f72d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Resources/MailResource.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ public static function table(Table $table): Table
320320
Tables\Columns\TextColumn::make('status')
321321
->label(__('Status'))
322322
->sortable()
323+
->searchable(false)
323324
->badge()
324325
->color(fn (string $state): string => match ($state) {
325326
__('Soft Bounced') => 'warning',
@@ -341,6 +342,7 @@ public static function table(Table $table): Table
341342
Tables\Columns\IconColumn::make('attachments')
342343
->label('')
343344
->alignLeft()
345+
->searchable(false)
344346
->getStateUsing(fn (Mail $record) => $record->attachments->count() > 0)
345347
->icon(fn (string $state): string => $state ? 'heroicon-o-paper-clip' : ''),
346348
Tables\Columns\TextColumn::make('to')

0 commit comments

Comments
 (0)