$shouldRegisterNavigation on CreateRecord
Hello,
How can i make my CreateRecord from resourse to use $shouldRegisterNavigation so I can add a custom navigation item ?
I've tried addming in my AdminPanelProvider:
I'm using mutlti tenants so i need to be able to check current user permissions on the visible() method of the navigation item but unfortunately, seems Filament::getTenant() is not available at that point it comes null
Any suggestions?
How can i make my CreateRecord from resourse to use $shouldRegisterNavigation so I can add a custom navigation item ?
I've tried addming in my AdminPanelProvider:
I'm using mutlti tenants so i need to be able to check current user permissions on the visible() method of the navigation item but unfortunately, seems Filament::getTenant() is not available at that point it comes null
Any suggestions?