refactor(electron): update store configuration (#22597)
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user