Merge pull request #1084 from Safelite/defect/digital/fix-default-store

Fixed assigning the default store state
This commit is contained in:
Jeremy-Z 2026-02-16 11:57:27 -05:00 committed by GitHub
commit 1323bb3c2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2457,7 +2457,7 @@ export const useMainStore = defineStore({
// populate initial state
populateInitialState(forceReset) {
if (!sessionStorage.getItem(storeId) || forceReset) {
this.$state = state;
this.$state = getDefaultState();
}
},