How to hide a menu item from a group

Hello ;

I have a retool menu (navigation2) and i can hide or show with that code

{{ current_user.groups.every(group => group.name !== 'Football Mates - Team') }}

It works but hide/show completely menu. I have 7 items in my menu. I want to show some menu items to some groups and hide some menu items to some groups. I couldnt success with it.

Hey @evrimtanrikut,

You have to use the hidden setting within each item on your menu:

image

The same code should work!