JohnnyC
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
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 ?15 replies
Use another client that Pusher with Websocket
I would like to use Soketi for websocket (database notification) on Admin Panel but I can't.
Everything is well configured on Laravel (on my not-filament application it is ok).
The configuration :
But, Pusher persist on Admin Panel :
wss://ws-mt1.pusher.com/app/app-key?protocol=7&client=js&version=7.6.0&flash=false
Can you help me please ?10 replies