FunnyHat
FunnyHat
FFilament
Created by FunnyHat on 12/4/2023 in #❓┊help
Auto-fill team_id in create
3 replies
FFilament
Created by FunnyHat on 8/6/2023 in #❓┊help
Add a link to the admin panel in user menu
MenuItem::make()
->when(fn() => Auth::user()->canAccessPanel(Filament::getPanel('admin')))
->label('Admin')
->color(Color::Red)
->icon('heroicon-o-shield-exclamation')
MenuItem::make()
->when(fn() => Auth::user()->canAccessPanel(Filament::getPanel('admin')))
->label('Admin')
->color(Color::Red)
->icon('heroicon-o-shield-exclamation')
But Auth::user() is null
8 replies
FFilament
Created by FunnyHat on 8/6/2023 in #❓┊help
Add a link to the admin panel in user menu
I tried this:
8 replies
FFilament
Created by FunnyHat on 8/6/2023 in #❓┊help
Add a link to the admin panel in user menu
There is no visible method on MenuItem
8 replies