1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

Update system

This commit is contained in:
2020-06-19 18:03:52 +02:00
parent 0d10a93bf8
commit 42e0353393
15 changed files with 197 additions and 31 deletions

View File

@ -10,6 +10,8 @@ import connections from './modules/connections.store';
import workspaces from './modules/workspaces.store';
import notifications from './modules/notifications.store';
import ipcUpdates from './plugins/ipcUpdates';
const vuexLocalStorage = new VuexPersist({
key: 'application', // The key to store the state on in the storage provider.
storage: window.localStorage,
@ -30,5 +32,8 @@ export default new Vuex.Store({
workspaces,
notifications
},
plugins: [vuexLocalStorage.plugin]
plugins: [
vuexLocalStorage.plugin,
ipcUpdates
]
});