Update 01-overview.md

This commit is contained in:
Dan Harrin
2025-09-22 08:40:02 +01:00
parent 84288a89b1
commit d11e375cfc
@@ -958,7 +958,7 @@ TextColumn::make('email')
->placeholder(fn (User $record): string => "No email for {$record->name}")
TextColumn::make('role')
->hidden(fn (User $record): bool => $record->role === 'admin')
->badge(fn (User $record): bool => $record->role === 'admin')
TextColumn::make('name')
->extraAttributes(fn (User $record): array => ['class' => "{$record->getKey()}-name-column"])