Skip to content

Chore: Add remove item method to Sidebars::Menu

fenyu requested to merge gitlab-jh/jh-team/gitlab:add-delete-item-to-menu into master

What does this MR do and why?

Add the remove_item method to Sidebars::Menu

Why we need it

In jihu-only feature(epic issue), we need hidden some menu-item with feature_flag, and the best way to do is add a remove method and remove target menu-item.

/cc @prajnamas @luzhiyuan.deer @zhanglinjie

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by fenyu

Merge request reports