CSR-1635 | Move supportingItems save to store to Quote page load

This commit is contained in:
Scott Kiener 2023-09-08 16:43:19 -04:00
parent d960b38602
commit adaa964a4c

View file

@ -121,6 +121,12 @@ export default {
false
);
baseMixin.methods.dispatchStoreAction(
storeActions.SAVE_SUPPORTING_ITEMS,
resultMap.supportingItems,
false
);
// Call the "next" function to complete the transition to this page.
next((vm) => {
vm.setCmsContent(resultMap.cmsContent);
@ -206,12 +212,6 @@ export default {
);
}
this.dispatchStoreAction(
this.storeActions.SAVE_SUPPORTING_ITEMS,
this.supportingItems,
false
);
this.dispatchStoreAction(this.storeActions.SAVE_VAPS, this.selectedVaps, false);
const payment = this.$store.getters.payment;