diff --git a/src/store/index.js b/src/store/index.js index 47d8bb38..57918dbe 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1692,7 +1692,7 @@ export const useMainStore = defineStore({ }, updateMobileFee(fee) { - const isMobileFeeHidden = getExperimentSettingValue(experimentSettings.ISS_FEATURE_TOGGLE_IS_MOBILE_FEE_HIDDEN) === 'true'; + const isMobileFeeHidden = getExperimentSettingValue(this.experimentSettings, experimentSettings.ISS_FEATURE_TOGGLE_IS_MOBILE_FEE_HIDDEN) === 'true'; // Mobile Fee is only added for NO COMP or ITAC and is NOT hidden if (fee && this.isVerified && (this.isNoComp || this.isITAC) && !isMobileFeeHidden) { this.addPartTypeFeeItem(fee, partTypeStrings.MOBILE_FEE); @@ -1702,7 +1702,7 @@ export const useMainStore = defineStore({ }, updateRecycleFee(fee) { - const isRecycleFeeHidden = this.getSettingValue(experimentSettings.ISS_FEATURE_TOGGLE_IS_RECYCLE_FEE_HIDDEN) === 'true'; + const isRecycleFeeHidden = getExperimentSettingValue(this.experimentSettings, experimentSettings.ISS_FEATURE_TOGGLE_IS_RECYCLE_FEE_HIDDEN) === 'true'; // Recycle Fee is only added for NO COMP or ITAC and has Windshield Replacement and is NOT hidden if (fee && this.isVerified && (this.isNoComp || this.isITAC) && this.hasWindshieldReplacement && !isRecycleFeeHidden) { this.addPartNumberFeeItem(fee, partNumberStrings.RECYCLE_FEE);