Fix incorrect redirect to todos dashboard for relative url configuration
What does this MR do and why?
Fix incorrect redirect to todos dashboard from super sidebar in cases when gitlab is configured with relative url.
This typebug was picked up by our E2E tests
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Configure GDK to use relative url via
relative_url_root: "/relative"
option - In rails console enable new nav feature flag
Feature.enable(:super_sidebar_nav)
- Enable new sidebar for logged in user from user menu
- Click on
To-Do list
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.