bigcommerce / b2b-buyer-portal

B2B Buyer Portal - BigCommerce B2B Edition
MIT License
25 stars 19 forks source link

fix: saving order path previous order detail #83

Closed deov31 closed 1 month ago

deov31 commented 1 month ago

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.

image

Rollout/Rollback

Revert

Testing

image

image