FilamentF
Filament16mo ago
MZX

How to hide a column in a table using Filament Shield?

I have the roles set up, but i want to hide a specific column based on role
Solution
Figured it out

->visible(fn() => auth()->user()->hasRole('super_admin'))
Was this page helpful?