use $record in badgeColumn visibility

Hi all !
It's not possible to do this in a table ? I've got an error that $record is null :
Tables\Columns\BadgeColumn::make('status.human_name') ->label(__('Status')) ->visible(fn ($record) => $record->is_internal),
Thx
Was this page helpful?