fix uninitialized badly-stored local config
This commit is contained in:
parent
85ac9a21fe
commit
f1b6e8417d
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ export const useLocalConfigStore = defineStore('local_config', {
|
|||
persist: {
|
||||
afterLoad(state) {
|
||||
return {
|
||||
prefsStorage: state.prefsStorage,
|
||||
prefsStorage: state.prefsStorage ?? { ...configDefaultState },
|
||||
tempStorage: { ...configDefaultState },
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue