Chore: Add remove item method to Sidebars::Menu
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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by fenyu