More explicit configuration of indexeddb for use in store

This commit is contained in:
Dannon Baker
2022-02-14 21:05:13 -05:00
parent a9f8ca99aa
commit 02df329f4c
+9 -1
View File
@@ -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"],
});