Call auth()->user() from NavigationItems
With Filament V2 I could do that :
And dynamic items based on authenticated user was generated.
But with FIlament v3, i haven't access to
I know that I have to pass with callback function, but
Have you any idea ?
And dynamic items based on authenticated user was generated.
But with FIlament v3, i haven't access to
auth()->user() or $panel->auth()->use() because it's always null.I know that I have to pass with callback function, but
$panel->navigationItems() doesn't allow callback. I tried with $panel->navigation() but all my menu is override and it doesn't work.Have you any idea ?