mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
Added persistance only for user settings.
This commit is contained in:
parent
6902650201
commit
570dcbaf17
@ -7,7 +7,9 @@ import userSettings from "./modules/userSettings";
|
|||||||
Vue.use(Vuex);
|
Vue.use(Vuex);
|
||||||
|
|
||||||
const store = new Vuex.Store({
|
const store = new Vuex.Store({
|
||||||
plugins: [createPersistedState()],
|
plugins: [createPersistedState({
|
||||||
|
paths: ['userSettings']
|
||||||
|
})],
|
||||||
modules: {
|
modules: {
|
||||||
userSettings
|
userSettings
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user