From adaa964a4cc7c2481685d1ef30e0cdcae57aa9cd Mon Sep 17 00:00:00 2001 From: Scott Kiener Date: Fri, 8 Sep 2023 16:43:19 -0400 Subject: [PATCH] CSR-1635 | Move supportingItems save to store to Quote page load --- src/layouts/quote/quote.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 30d15ba4c..61287610b 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -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;