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
|
|
@ -195,9 +195,9 @@ export default {
|
||||||
left: -9999px;
|
left: -9999px;
|
||||||
|
|
||||||
+ .package-label.pricing-by-day-pkg-lbl {
|
+ .package-label.pricing-by-day-pkg-lbl {
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
padding-bottom: 0.75rem;
|
padding-bottom: 0.75rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
+ .package-label.pricing-by-day-pkg-lbl.adjust-top {
|
+ .package-label.pricing-by-day-pkg-lbl.adjust-top {
|
||||||
|
|
@ -220,9 +220,9 @@ export default {
|
||||||
}
|
}
|
||||||
&:after {
|
&:after {
|
||||||
top: 20px;
|
top: 20px;
|
||||||
}
|
}
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
padding-bottom: 0.75rem;
|
padding-bottom: 0.75rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -242,8 +242,8 @@ export default {
|
||||||
min-height: 52px;
|
min-height: 52px;
|
||||||
max-height: 126px;
|
max-height: 126px;
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
padding-bottom: 3rem;
|
padding-bottom: 3rem;
|
||||||
}
|
}
|
||||||
transition: max-height 0.25s ease-in;
|
transition: max-height 0.25s ease-in;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
|
|
|
||||||
|
|
@ -851,7 +851,7 @@ function setupMocks({ mountOptionsMockData, props = mockProps }) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
mountOptionsMockData = Object.assign(mountOptionsMockDataDefault, mountOptionsMockData);
|
mountOptionsMockData = Object.assign(mountOptionsMockDataDefault, mountOptionsMockData);
|
||||||
const mountOptions = getMountOptions(mountOptionsMockData);
|
const mountOptions = getMountOptions(mountOptionsMockData);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue