mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
Added setting.store
This commit is contained in:
@ -5,6 +5,7 @@ import Vuex from 'vuex';
|
||||
import VuexPersist from 'vuex-persist';
|
||||
|
||||
import application from './modules/application.store';
|
||||
import settings from './modules/settings.store';
|
||||
import connections from './modules/connections.store';
|
||||
import workspaces from './modules/workspaces.store';
|
||||
import notifications from './modules/notifications.store';
|
||||
@ -13,7 +14,8 @@ const vuexLocalStorage = new VuexPersist({
|
||||
key: 'application', // The key to store the state on in the storage provider.
|
||||
storage: window.localStorage,
|
||||
reducer: state => ({
|
||||
connections: state.connections
|
||||
connections: state.connections,
|
||||
settings: state.settings
|
||||
})
|
||||
});
|
||||
|
||||
@ -23,6 +25,7 @@ export default new Vuex.Store({
|
||||
strict: true,
|
||||
modules: {
|
||||
application,
|
||||
settings,
|
||||
connections,
|
||||
workspaces,
|
||||
notifications
|
||||
|
Reference in New Issue
Block a user