Removing non-mvp fields from the store

This commit is contained in:
Mark Harris 2021-12-02 10:34:40 -05:00
parent b91170de61
commit 2471fb9b03

View file

@ -27,7 +27,6 @@ export default createStore({
evoxImageId: null, evoxImageId: null,
hasSplitWindshieldOption: null, hasSplitWindshieldOption: null,
hasBackglassSliderOption: null, hasBackglassSliderOption: null,
imageSrc: '',
registration: { registration: {
rawAddress: null, rawAddress: null,
zipCode: null, zipCode: null,
@ -40,28 +39,19 @@ export default createStore({
isReplacement: null, isReplacement: null,
numberOfChips: null, numberOfChips: null,
glassToReplace: null, glassToReplace: null,
problemGlassQuestions: null, problemGlassQuestionAnswers: null,
problemMoldingQuestions: null, problemMoldingQuestionAnswers: null,
problemPropertyQuestions: null, problemPropertyQuestionAnswers: null,
}, },
items: null, lineItems: null,
customer: { customer: {
emailAddress: null, emailAddress: null,
firstName: null,
lastName: null,
phoneNumber: {
isMobile: null,
optInSms: null,
}
}, },
payment: { payment: {
isInsurance: null, isInsurance: null,
isCash: null, isCash: null,
}, },
referral: {
referralSeqNum: null, referralSeqNum: null,
workOrderId: null
}
} }
}, },
applicationUser: { applicationUser: {
@ -71,9 +61,6 @@ export default createStore({
// See IMPORTANT note at top of "state" declaration. // See IMPORTANT note at top of "state" declaration.
mutations: { mutations: {
updateVehicleImage(state, data) {
state.order.vehicle.imageSrc = data.imgSrc;
},
}, },
actions: { actions: {
// Vehicle API Actions // Vehicle API Actions