Skip to content

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
before after

How to set up and validate locally

  1. In the rails console (rails c) enable feature
    Feature.enable(:adherence_report_ui)
  2. Visit the selected group, then navigate under Secure (new UI) or Security & Compliance (old UI) > Compliance report
  3. 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.

Related to #421467 (closed)

Edited by Jay Montal

Merge request reports

Loading