Fixed the issue of menu not being enabled for the correct page when using the back button in the preorder app.
Removed a watcher from the menu component that checks for route changes
Defined a computed property to find the correct index in the menu list
Added an entry in the menu component pages to list all the child routes those are not listed in the menu for a specific parent route, using which we have enabled the correct menu in the UI.
Added a logic for the dynamic child routes in the app.
Screenshots of Visual Changes before/after (If There Are Any)
IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and Currently Important Rules Acceptance
Related Issues
Issue link: https://github.com/hotwax/dxp-components/issues/122
Short Description and Why It's Useful
Fixed the issue of menu not being enabled for the correct page when using the back button in the preorder app.
Screenshots of Visual Changes before/after (If There Are Any)
IMPORTANT NOTICE - Remember to update
CHANGELOG.md
with description of your changeContribution and Currently Important Rules Acceptance