reset service package

This commit is contained in:
Katie Kroell 2026-03-03 14:36:43 -05:00
parent 105fc97d5d
commit 246aea7edc

View file

@ -2029,6 +2029,7 @@ export const useMainStore = defineStore({
this.updateSupportingItems(null);
this.updateVaps(null);
this.updateServicePackage(null);
},
updateVehicleCoverage(coverage) {
@ -2073,6 +2074,7 @@ export const useMainStore = defineStore({
this.order.loadedFromDupeCheck = null;
this.order.loadedSessionClearedPreviousData = null;
this.order.availableVaps = null;
this.order.servicePackage = null;
this.order.carrierPhoneNumber = null;
this.order.customerPortalLoginToken = null;
this.order.loadedFromCookie = false;
@ -2358,6 +2360,7 @@ export const useMainStore = defineStore({
this.updateCapabilityQuestionAnswers(null);
this.updateSupportingItems(null);
this.updateVaps(null);
this.updateServicePackage(null);
this.updatePageData({ page: issPageValues.VEHICLE_PARTS, data: null });
this.updatePageData({ page: issPageValues.MOLDING_QUESTIONS, data: null });
@ -2826,17 +2829,20 @@ export const useMainStore = defineStore({
this.resetRegistrationState();
this.resetGlassPartsState();
this.updateVaps(null);
this.updateServicePackage(null);
},
resetDamageAndDependencies() {
this.resetDamageState();
this.resetGlassPartsState();
this.updateVaps(null);
this.updateServicePackage(null);
},
resetPartsAndDependencies() {
this.resetGlassPartsState();
this.updateVaps(null);
this.updateServicePackage(null);
this.resetServiceLocationAndDependencies();
},