Merge pull request #71 from Safelite/feature/removing-non-mvp-fields
Feature/removing non mvp fields
This commit is contained in:
commit
9cc240353b
1 changed files with 5 additions and 18 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue