commit
5e36fc37ac
1 changed files with 1 additions and 7 deletions
|
|
@ -485,19 +485,13 @@ export default {
|
||||||
this.hasGlassLocationWithMultipleParts(allPartsOrQuestions);
|
this.hasGlassLocationWithMultipleParts(allPartsOrQuestions);
|
||||||
const hasChildPartQuestions = this.hasChildPartQuestions(allPartsOrQuestions);
|
const hasChildPartQuestions = this.hasChildPartQuestions(allPartsOrQuestions);
|
||||||
const hasCapabilityQuestions = this.hasCapabilityQuestions(allPartsOrQuestions);
|
const hasCapabilityQuestions = this.hasCapabilityQuestions(allPartsOrQuestions);
|
||||||
const skipVinLookup = await store.dispatch(storeActions.IS_VIN_OPTIONAL_VEHICLE);
|
|
||||||
|
|
||||||
const vin = self.$store.getters.vehicle.vin;
|
const vin = self.$store.getters.vehicle.vin;
|
||||||
let backNavigationScenario =
|
let backNavigationScenario =
|
||||||
!vin || vin === "" || skipVinLookup
|
!vin || vin === ""
|
||||||
? navigationScenarios.CLICKED_BACK_WITH_NO_VIN_NOR_QUESTIONS
|
? navigationScenarios.CLICKED_BACK_WITH_NO_VIN_NOR_QUESTIONS
|
||||||
: navigationScenarios.CLICKED_BACK_WITH_VIN_AND_NO_MORE_QUESTIONS;
|
: navigationScenarios.CLICKED_BACK_WITH_VIN_AND_NO_MORE_QUESTIONS;
|
||||||
|
|
||||||
if (vin) {
|
|
||||||
backNavigationScenario =
|
|
||||||
navigationScenarios.CLICKED_BACK_WITH_VIN_AND_NO_MORE_QUESTIONS;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
hasCapabilityQuestions &&
|
hasCapabilityQuestions &&
|
||||||
this.currentPageComesAfterPage(currentPage, fmgPageValues.CAPABILITY_QUESTIONS)
|
this.currentPageComesAfterPage(currentPage, fmgPageValues.CAPABILITY_QUESTIONS)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue