From 02df329f4c97ea2e81315c695bba8d1211f88dba Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Mon, 14 Feb 2022 19:27:43 -0500 Subject: [PATCH] More explicit configuration of indexeddb for use in store --- client/src/store/index.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/client/src/store/index.js b/client/src/store/index.js index f5ea87be2d3..adbf246e49a 100644 --- a/client/src/store/index.js +++ b/client/src/store/index.js @@ -36,8 +36,16 @@ import { syncVuextoGalaxy } from "./syncVuextoGalaxy"; Vue.use(Vuex); +const galaxyStorage = localForage.createInstance({}) +galaxyStorage.config({ + driver : localForage.INDEXEDDB, + name : 'galaxyIndexedDB', + version : 1.0, + storeName : 'galaxyStore', +}) + const panelsPersistence = new VuexPersistence({ - storage: localForage, + storage: galaxyStorage, asyncStorage: true, modules: ["panels"], });