Use organization overview path in org switcher

What does this MR do and why?

The organization switcher in the super sidebar linked each switch-target organization to its root path (rootPath). That path now redirects from org-scoped user dashboards to the global dashboard, so the switcher no longer navigates to the intended organization.

This changes the switch-target links to use the organization overview path (webPath), which is the same field already exposed on the organization GraphQL fragment. The current-organization entry already used the overview URL, so this also makes both entries consistent.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Enable Organizations and sign in as a user that belongs to more than one organization.
  2. Open the super sidebar organization switcher.
  3. Click an organization under "Switch organizations".
  4. Confirm it navigates to that organization's overview page instead of redirecting to the global dashboard.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading
Loading