CSR-963 uncomment ford test and run prettier

This commit is contained in:
CarlNation 2022-12-06 09:10:49 -05:00
parent 9bea3c96ab
commit 5edca889ae
2 changed files with 12 additions and 10 deletions

View file

@ -205,15 +205,14 @@ export default {
}
this.displayNonServiceableZipAlert = false;
if (this.isRepair){
if (this.isRepair) {
return this.$router.navigateWithSaving(
this.navigationScenarios.CLICKED_FORWARD_WITH_NO_QUESTIONS,
this.$route
this.navigationScenarios.CLICKED_FORWARD_WITH_NO_QUESTIONS,
this.$route
);
}
else{
// if we're skipping the vin-lookup but it's not a repair, we still need to get the parts
await this.navigateForwardWithSingleCarMatch();
} else {
// if we're skipping the vin-lookup but it's not a repair, we still need to get the parts
await this.navigateForwardWithSingleCarMatch();
}
}

View file

@ -1432,9 +1432,12 @@ export const actions = {
default:
}
// if (context.state.order.vehicle.make.toLowerCase() === "ford" && context.state.order.vehicle.year >= 2018) {
// return true;
// }
if (
context.state.order.vehicle.make.toLowerCase() === "ford" &&
context.state.order.vehicle.year >= 2018
) {
return true;
}
if (
context.state.order.vehicle.make.toLowerCase() === "bmw" &&