init to null

This commit is contained in:
FrankSafelite 2021-11-18 16:10:17 -05:00
parent 5b91b7d655
commit 2d78983707

View file

@ -12,54 +12,54 @@ export default createStore({
state: { state: {
order: { order: {
vehicle: { vehicle: {
year: 0, year: null,
make: '', make: null,
model: '', model: null,
style: '', style: null,
vin: '', vin: null,
licensePlate: '', licensePlate: null,
carId: '', carId: null,
evoxImageId: '', evoxImageId: null,
hasSplitWindshieldOption: false, hasSplitWindshieldOption: null,
hasBackglassSliderOption: false, hasBackglassSliderOption: null,
registration: { registration: {
rawAddress: '', rawAddress: null,
zipCode: '', zipCode: null,
firstName: '', firstName: null,
lastName: '', lastName: null,
licensePlate: '' licensePlate: null
}, },
damage: { damage: {
isRepair: false, isRepair: null,
isReplacement: false, isReplacement: null,
numberOfChips: 0, numberOfChips: null,
glassToReplace: [], glassToReplace: null,
problemGlassQuestions: [], problemGlassQuestions: null,
problemMoldingQuestions: [], problemMoldingQuestions: null,
problemPropertyQuestions: [], problemPropertyQuestions: null,
}, },
items: [], items: null,
customer: { customer: {
emailAddress: '', emailAddress: null,
firstName: '', firstName: null,
lastName: '', lastName: null,
phoneNumber: { phoneNumber: {
isMobile: false, isMobile: null,
optInSms: false, optInSms: null,
} }
}, },
payment: { payment: {
isInsurance: false, isInsurance: null,
isCash: false, isCash: null,
}, },
referral: { referral: {
referralSeqNum: 0, referralSeqNum: null,
workOrderId: '' workOrderId: null
} }
} }
}, },
applicationUser: { applicationUser: {
experiments: [], experiments: null,
} }
}, },
mutations: {}, mutations: {},