diff --git a/src/store/index.js b/src/store/index.js index 90b04423..25463efb 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -671,7 +671,6 @@ export const useMainStore = defineStore({ this.order.vehicle.imageVifNumber = vehicle.imageVifNumber; this.order.vehicle.imageColor = vehicle.imageVifColor; - // added for SSR-290 this.resetSupportingItemsState(); this.resetVapsState(); }, @@ -757,7 +756,6 @@ export const useMainStore = defineStore({ if(this.order.vehicle.year !== year) { this.resetVehicleState(); - // was resetDamageState, added dependencies for SSR-290 this.resetDamageAndDependencies(); this.order.vehicle.year = year; @@ -770,7 +768,6 @@ export const useMainStore = defineStore({ const year = this.order.vehicle.year; this.resetVehicleState(); - // was resetDamageState, added dependencies for SSR-290 this.resetDamageAndDependencies(); this.order.vehicle.year = year; @@ -785,7 +782,6 @@ export const useMainStore = defineStore({ const make = this.order.vehicle.make; this.resetVehicleState(); - // was resetDamageState, added dependencies for SSR-290 this.resetDamageAndDependencies(); this.order.vehicle.year = year; @@ -803,7 +799,6 @@ export const useMainStore = defineStore({ const model = this.order.vehicle.model; this.resetVehicleState(); - // was resetDamageState, added dependencies for SSR-290 this.resetDamageAndDependencies(); this.order.vehicle.year = year; @@ -886,7 +881,6 @@ export const useMainStore = defineStore({ this.updateGlassParts(null); this.updateMoldingQuestionAnswers(null); this.updateCapabilityQuestionAnswers(null); - // Added for SSR-290 this.resetSupportingItemsState(); this.resetVapsState(); @@ -915,7 +909,6 @@ export const useMainStore = defineStore({ ); if (haveMoldingQuestionAnswersChanged) { - // was updateGlassParts(null), added dependencies for SSR-290 this.resetPartsAndDependencies(); this.updateCapabilityQuestionAnswers(null); this.updatePageData({ page: issPageValues.CAPABILITY_QUESTIONS, data: null }); @@ -941,7 +934,6 @@ export const useMainStore = defineStore({ ); if (haveCapabilityQuestionAnswersChanged) { - // was updateGlassPars(null), added dependencies for SSR-290 this.resetPartsAndDependencies(); }