Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk authored and github-actions[bot] committed Jan 9, 2025
1 parent b823b03 commit 50df9cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Resources/SuppressionResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ public static function table(Table $table): Table
->columns([
Tables\Columns\TextColumn::make('mail.to')
->label(__('Email address'))
->formatStateUsing(fn(MailEvent $record) => key($record->mail->to))
->formatStateUsing(fn (MailEvent $record) => key($record->mail->to))
->searchable(['to']),
Tables\Columns\TextColumn::make('occurred_at')
->label(__('Suppressed At'))
->dateTime('d-m-Y H:i')
->since()
->tooltip(fn(MailEvent $record) => $record->occurred_at->format('d-m-Y H:i'))
->tooltip(fn (MailEvent $record) => $record->occurred_at->format('d-m-Y H:i'))
->sortable()
->searchable(),
])
->modifyQueryUsing(fn($query) => $query->where('type', EventType::HARD_BOUNCED))
->modifyQueryUsing(fn ($query) => $query->where('type', EventType::HARD_BOUNCED))
->filters([
//
])
Expand Down

0 comments on commit 50df9cb

Please sign in to comment.