CASH-307
CASH-307 switch the navigate call to perform a save. The isInsurance property was not being saved to SV2, only to the store. So a refresh on the page would reload from sv2 and the field would be false triggering the page prereq error.
This commit is contained in:
parent
6c5eeca3c3
commit
4f995a1ad0
3 changed files with 11 additions and 13 deletions
|
|
@ -571,11 +571,9 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
if (this.paymentMethod == paymentMethods.INSURANCE) {
|
if (this.paymentMethod == paymentMethods.INSURANCE) {
|
||||||
this.dispatchStoreAction(this.storeActions.SAVE_PAYMENT_TYPE, true, false);
|
this.dispatchStoreAction(this.storeActions.SAVE_PAYMENT_TYPE, true, false);
|
||||||
this.$router.navigateWithoutSaving(
|
return this.$router.navigateWithSaving(
|
||||||
this.navigationScenarios.CLICKED_INSURANCE,
|
this.navigationScenarios.CLICKED_INSURANCE,
|
||||||
this.$route,
|
this.$route
|
||||||
{},
|
|
||||||
{ [routerParams.DISPLAY_PIA_ALERT]: false }
|
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
this.setupPia();
|
this.setupPia();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue