This commit is contained in:
Kulbhushan Kaushik 2022-09-27 15:14:56 -04:00
parent 2578223941
commit 107dace02c

View file

@ -98,7 +98,10 @@ export const useMainStore = defineStore({
},
populateInitialState()
{
Object.assign(this.$state, getDefaultState());
if(!localStorage.getItem('main')) {
this.$state = state;
}
}
},
persist: true