Fixed assigning the default store state

This commit is contained in:
Josh Dassinger 2026-02-16 10:55:37 -06:00
parent d6775e3c83
commit 6ad3e29869

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();
}
},