topNavigation setting for each user

How we can adjust setting for each user for On/Off topNavigation()? I want each user to be able to do this setting themselves and have it stored in the database for each user separately, for example by adding a field such asis_topmenu
3 Replies
Dennis Koch
Dennis Koch20h ago
You can get the current panel inside a middleware and change the config there.
mszabeh
mszabehOP19h ago
How can I get the current panel inside a middleware?
Dennis Koch
Dennis Koch19h ago
Filament::currentPanel()

Did you find this page helpful?