mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
More explicit configuration of indexeddb for use in store
This commit is contained in:
@@ -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"],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user