CASH-64 if missing the prereqs for insurance on service-location, send back to heritage.  This happens when the user is using browser back/forward buttons to navigate.  This doesn't happen locally so need to push this to dev in order to test further.
This commit is contained in:
CarlNation 2025-01-02 07:44:42 -05:00
parent ccc04b667b
commit 3916612d23

View file

@ -397,7 +397,13 @@ export default {
console.log(new Date() + "store.getters.order.policy.policyNumber:" + store.getters.order.policy.policyNumber);
console.log(new Date() + "store.getters.order.serviceLocation.zipCode:" + store.getters.order.serviceLocation.zipCode);
}
return false;
// if attempting to load service-location for insurance and invalid page prereqs, send to heritage instead of going back to vehicle
navigateToHeritageFunnel({
shouldSaveSession: false,
pageNameToLog: "service-location",
navType: "back",
});
}
} else {
if (