From 4ab4438344f4bea430d7cb11e0705369dbd37470 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Thu, 19 Sep 2024 18:02:27 -0400 Subject: [PATCH] CSR-2166: adding a few missed state methods --- src/constants/store-mutations.js | 1 + src/store/index.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/constants/store-mutations.js b/src/constants/store-mutations.js index c03d51432..02b05bd28 100644 --- a/src/constants/store-mutations.js +++ b/src/constants/store-mutations.js @@ -111,6 +111,7 @@ const storeMutations = { RESET_EXTERNAL_PARAMETER_ESTIMATE_STATE: "resetExternalParameterEstimateState", RESET_EXTERNAL_PARAMETER_SERVICEZIP_STATE: "resetExternalParameterServiceZipState", RESET_EXTERNAL_PARAMETER_QUOTE_STATE: "resetExternalParameterQuoteState", + RESET_EXTERNAL_PARAMETER_SOURCE_STATE: "resetExternalParameterSourceState", RESET_IS_EXTERNAL_PARAMETER: "resetIsExternalParameter", //Affiliate Cookies diff --git a/src/store/index.js b/src/store/index.js index 6ed37e445..a724d26c1 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -912,6 +912,7 @@ export const getters = { externalParameterQuote: (state) => externalParameterState?.quote, externalParameterServiceZip: (state) => externalParameterState?.serviceZip, externalParameterEstimate: (state) => externalParameterState?.estimate, + externalParameterSource: (state) => externalParameterState?.source, }; function getNonFalseValuesOfPropertyInArrayOfObjects(array, propertyName) { @@ -2881,6 +2882,7 @@ export const actions = { context.commit(storeMutations.RESET_EXTERNAL_PARAMETER_ESTIMATE_STATE); context.commit(storeMutations.RESET_EXTERNAL_PARAMETER_SERVICEZIP_STATE); context.commit(storeMutations.RESET_EXTERNAL_PARAMETER_QUOTE_STATE); + context.commit(storeMutations.RESET_EXTERNAL_PARAMETER_SOURCE_STATE); context.commit(storeMutations.RESET_IS_EXTERNAL_PARAMETER); } },