F
Filament12mo ago
Emaz

SIGH... Hidden Nav item ?

I hate asking this but you all can save me loads of time and it might help someone else as well. I implemented a category on the Nav bar that I want hidden unless you're an admin (I'm hiding the User model). It's totally working as expected but I cannot find where I implemented it. Now that you're done laughing, what are the possibilities? LOL. Isn't the usual way to use hidden() or visible() like here: https://filamentphp.com/docs/3.x/panels/navigation#conditionally-hiding-navigation-items I am using that in other V3 Filament projects and I expected to find that here too (multitasking too much). But nope, I'm not doing that so what else can it be?
2 Replies
Emaz
Emaz12mo ago
It's also NOT shouldRegisterNavigation 🤪 And it's not use of the navigation() method. How is this working???
Dennis Koch
Dennis Koch12mo ago
Try searching for the name of the nav item. 🤷‍♂️
Want results from more Discord servers?
Add your server