refactor(electron): update store configuration (#22597)
This commit is contained in:
parent
c98f616385
commit
d7718d41d4
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ const cache = new Map<string, Store>()
|
||||||
export function getStore(name = SETTINGS_STORE) {
|
export function getStore(name = SETTINGS_STORE) {
|
||||||
const cached = cache.get(name)
|
const cached = cache.get(name)
|
||||||
if (cached) return cached
|
if (cached) return cached
|
||||||
const next = new Store({ name, fileExtension: "" })
|
const next = new Store({ name, fileExtension: "", accessPropertiesByDotNotation: false })
|
||||||
cache.set(name, next)
|
cache.set(name, next)
|
||||||
return next
|
return next
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue