# Hide Sub Menu item

**URL:** <https://forum.inductiveautomation.com/t/hide-sub-menu-item/110569>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 12, 2025, 9:32am UTC](https://forum.inductiveautomation.com/t/hide-sub-menu-item/110569 "2025-09-12T09:32:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TechEnlive](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@TechEnlive](https://forum.inductiveautomation.com/u/TechEnlive)\
**Post date:** [September 12, 2025, 9:32am UTC](https://forum.inductiveautomation.com/t/hide-sub-menu-item/110569/1 "2025-09-12T09:32:41Z")

</div>

Hi,

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

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/a/ea5159505180ec2b0aa2e4e3d7623c58cbc4a3a9.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 12, 2025, 11:16am UTC](https://forum.inductiveautomation.com/t/hide-sub-menu-item/110569/2 "2025-09-12T11:16:41Z")

</div>

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