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,
|
||||
},
|
||||
},
|
||||
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,
|
||||
referralDate: null,
|
||||
referralCorrelationId: null,
|
||||
accountNumber: 0,
|
||||
eon: null
|
||||
},
|
||||
applicationUser: {
|
||||
eventBus: [],
|
||||
|
|
@ -98,7 +70,8 @@ export const useMainStore = defineStore({
|
|||
},
|
||||
populateInitialState()
|
||||
{
|
||||
if(!localStorage.getItem('main')) {
|
||||
const storeId = 'main';
|
||||
if(!localStorage.getItem(storeId)) {
|
||||
this.$state = state;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue