mirror of https://github.com/Fabio286/antares.git
28 lines
526 B
JavaScript
28 lines
526 B
JavaScript
'use strict';
|
|
|
|
export default {
|
|
namespaced: true,
|
|
strict: true,
|
|
state: {
|
|
connections: [],
|
|
isNewConnModal: false
|
|
},
|
|
mutations: {
|
|
showNewConnModal (state) {
|
|
state.isNewConnModal = true;
|
|
},
|
|
hideNewConnModal (state) {
|
|
state.isNewConnModal = false;
|
|
}
|
|
},
|
|
actions: {
|
|
// Modals
|
|
showNewConnModal ({ commit }) {
|
|
commit('showNewConnModal');
|
|
},
|
|
hideNewConnModal ({ commit }) {
|
|
commit('hideNewConnModal');
|
|
}
|
|
}
|
|
};
|