Use widget presence check for rendering Hierarchy widget
What does this MR do and why?
Check if Hierarchy widget is present while rendering Work Item detail view to show/hide hierarchy widget instead of relying on Work Item type
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
How to set up and validate locally
- Enable OKRs on any project
- Create an Objective in that project
- Visit Objective and it should show hierarchy widget
- Create a child Key Result of same objective
- Visit the Key Result and it should not show hierarchy widget