Fix highlighted tab on compliance center page
What does this MR do and why?
What
Fix highlighted tab on compliance center page
Why
When feature adherence_report_ui
is enabled and the standards adherence tab is shown there was an issue with incorrect tabs being highlighted when selected
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- In the rails console (
rails c
) enable featureFeature.enable(:adherence_report_ui)
- Visit the selected group, then navigate under Secure (new UI) or Security & Compliance (old UI) > Compliance report
- Click around tabs and ensure selected tab is properly highlighted
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.
Related to #421467 (closed)
Edited by Jay Montal