Removed unwanted comments

This commit is contained in:
DavidAtSafelite 2023-05-10 11:19:15 -04:00
parent 4fc7012b7a
commit 311d19cb30

View file

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