Some other logic changes

This commit is contained in:
FrankRua 2022-04-19 10:33:42 -04:00
parent 30e7c80912
commit e721d0deca
2 changed files with 15 additions and 1 deletions

View file

@ -23,9 +23,10 @@ export async function getPageToRouteExistingOrderTo(toRoute = {}, existingHerita
return await getLatestPageForRedirection();
}
console.log(isVinRelatedPage(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 && !isVinRelatedPage(toRoute)) {
if (isVinRelatedPage(toRoute) === false || toRoute.query[queryStrings.FMG_PAGE] === undefined) {
return overrideYmmsDirectionIfNeeded(toRoute, toRoute.query[queryStrings.FMG_PAGE]);
}

View file

@ -0,0 +1,13 @@
<template>
<p> Estimate </p>
</template>
<script>
export default {
name: "estimate",
methods: {
arePagePrerequisitesValid() {
return true;
},
}
};
</script>