I added back a variable to the session storage to keep the value of the route in the nav clicked before seeing the orderDetail. In the routes we have "My Orders" and "Company orders" and both re routes to page orderDetail when users clicks for a specific order, so they are both displayed as selected when in orderDetail page. By having saved the value from the path we clicked we can add styles only to one of those routes.
Jira: BUN-2749
What/Why?
I added back a variable to the session storage to keep the value of the route in the nav clicked before seeing the orderDetail. In the routes we have "My Orders" and "Company orders" and both re routes to page orderDetail when users clicks for a specific order, so they are both displayed as selected when in orderDetail page. By having saved the value from the path we clicked we can add styles only to one of those routes.
Rollout/Rollback
Revert
Testing