Explorar o código

refactor(electron): update store configuration (#22597)

Brendan Allan hai 2 días
pai
achega
d7718d41d4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/desktop-electron/src/main/store.ts

+ 1 - 1
packages/desktop-electron/src/main/store.ts

@@ -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
 }
 }