Merge pull request #1765 from Safelite/feature/csr-1973
Remove navigation exceptions for schedule, service-location.
This commit is contained in:
commit
122c7a0c1d
1 changed files with 1 additions and 6 deletions
|
|
@ -36,12 +36,7 @@ export async function getPageToRouteExistingOrderTo(toRoute = {}) {
|
|||
|
||||
// If navigating to a specific page, and that page is not part of the vin pages.
|
||||
// Return that page, so that it can navigate like normal.
|
||||
if (
|
||||
toRoute.query[queryStrings.FMG_PAGE] !== undefined &&
|
||||
toRoute.query[queryStrings.FMG_PAGE] !== fmgPageValues.SERVICE_LOCATION &&
|
||||
toRoute.query[queryStrings.FMG_PAGE] !== fmgPageValues.SCHEDULE &&
|
||||
!isVinRelatedPage(toRoute)
|
||||
) {
|
||||
if (toRoute.query[queryStrings.FMG_PAGE] !== undefined && !isVinRelatedPage(toRoute)) {
|
||||
return overrideYmmsDirectionIfNeeded(toRoute);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue