Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SideNav links when navigation from a cluster-scoped page
When navigating from a cluster-scoped resource / list, e.g. ClusterTasks, to any namespaced resource / list, the URL should include the namespace of the currently selected global namespace filter. This will become even more important once the namespace dropdown is moved to the header in the very near future. Use the selected namespace instead of the URL as the source of truth when determining whether the target URL should include the namespace as it will not be present in the current URL when viewing cluster scoped resources.
- Loading branch information