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