Hide Sub Menu item

Hi,

We have a menu and one item have sub items. How can I hide a single item depending on a condition?

I would dynamically construct the entire props.items tree, omitting what doesn't apply.

1 Like