Ver Fonte

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

Brendan Allan há 2 dias atrás
pai
commit
d7718d41d4
1 ficheiros alterados com 1 adições e 1 exclusões
  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) {
   const cached = cache.get(name)
   if (cached) return cached
-  const next = new Store({ name, fileExtension: "" })
+  const next = new Store({ name, fileExtension: "", accessPropertiesByDotNotation: false })
   cache.set(name, next)
   return next
 }