commit
This commit is contained in:
parent
107dace02c
commit
7408912c2e
1 changed files with 2 additions and 29 deletions
|
|
@ -27,37 +27,9 @@ const getDefaultState = () => {
|
||||||
lastName: null,
|
lastName: null,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
serviceLocation: {
|
|
||||||
address: null,
|
|
||||||
city: null,
|
|
||||||
state: null,
|
|
||||||
zipCode: null,
|
|
||||||
},
|
|
||||||
customer: {
|
|
||||||
emailAddress: null,
|
|
||||||
},
|
|
||||||
damage: {
|
|
||||||
isRepair: null,
|
|
||||||
numberOfChips: null,
|
|
||||||
glassToReplace: null,
|
|
||||||
partQuestionAnswers: null,
|
|
||||||
moldingQuestionAnswers: null,
|
|
||||||
capabilityQuestionAnswers: null
|
|
||||||
},
|
|
||||||
lineItems: {
|
|
||||||
glassParts: null
|
|
||||||
},
|
|
||||||
payment: {
|
|
||||||
isInsurance: null,
|
|
||||||
insuranceCoverage: {
|
|
||||||
isVerified: null
|
|
||||||
}
|
|
||||||
},
|
|
||||||
referralNumber: null,
|
referralNumber: null,
|
||||||
referralDate: null,
|
referralDate: null,
|
||||||
referralCorrelationId: null,
|
|
||||||
accountNumber: 0,
|
accountNumber: 0,
|
||||||
eon: null
|
|
||||||
},
|
},
|
||||||
applicationUser: {
|
applicationUser: {
|
||||||
eventBus: [],
|
eventBus: [],
|
||||||
|
|
@ -98,7 +70,8 @@ export const useMainStore = defineStore({
|
||||||
},
|
},
|
||||||
populateInitialState()
|
populateInitialState()
|
||||||
{
|
{
|
||||||
if(!localStorage.getItem('main')) {
|
const storeId = 'main';
|
||||||
|
if(!localStorage.getItem(storeId)) {
|
||||||
this.$state = state;
|
this.$state = state;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue