From 2d78983707aeec01ec1ffcc3fadf80e3a71a9103 Mon Sep 17 00:00:00 2001 From: FrankSafelite Date: Thu, 18 Nov 2021 16:10:17 -0500 Subject: [PATCH] init to null --- src/store/index.js | 66 +++++++++++++++++++++++----------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 5a2a60769..7bed83a55 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -12,54 +12,54 @@ export default createStore({ state: { order: { vehicle: { - year: 0, - make: '', - model: '', - style: '', - vin: '', - licensePlate: '', - carId: '', - evoxImageId: '', - hasSplitWindshieldOption: false, - hasBackglassSliderOption: false, + year: null, + make: null, + model: null, + style: null, + vin: null, + licensePlate: null, + carId: null, + evoxImageId: null, + hasSplitWindshieldOption: null, + hasBackglassSliderOption: null, registration: { - rawAddress: '', - zipCode: '', - firstName: '', - lastName: '', - licensePlate: '' + rawAddress: null, + zipCode: null, + firstName: null, + lastName: null, + licensePlate: null }, damage: { - isRepair: false, - isReplacement: false, - numberOfChips: 0, - glassToReplace: [], - problemGlassQuestions: [], - problemMoldingQuestions: [], - problemPropertyQuestions: [], + isRepair: null, + isReplacement: null, + numberOfChips: null, + glassToReplace: null, + problemGlassQuestions: null, + problemMoldingQuestions: null, + problemPropertyQuestions: null, }, - items: [], + items: null, customer: { - emailAddress: '', - firstName: '', - lastName: '', + emailAddress: null, + firstName: null, + lastName: null, phoneNumber: { - isMobile: false, - optInSms: false, + isMobile: null, + optInSms: null, } }, payment: { - isInsurance: false, - isCash: false, + isInsurance: null, + isCash: null, }, referral: { - referralSeqNum: 0, - workOrderId: '' + referralSeqNum: null, + workOrderId: null } } }, applicationUser: { - experiments: [], + experiments: null, } }, mutations: {},