Merge pull request #1084 from Safelite/defect/digital/fix-default-store
Fixed assigning the default store state
This commit is contained in:
commit
1323bb3c2e
1 changed files with 1 additions and 1 deletions
|
|
@ -2457,7 +2457,7 @@ export const useMainStore = defineStore({
|
||||||
// populate initial state
|
// populate initial state
|
||||||
populateInitialState(forceReset) {
|
populateInitialState(forceReset) {
|
||||||
if (!sessionStorage.getItem(storeId) || forceReset) {
|
if (!sessionStorage.getItem(storeId) || forceReset) {
|
||||||
this.$state = state;
|
this.$state = getDefaultState();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue