Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/monitoring/stores/index.js')
-rw-r--r--app/assets/javascripts/monitoring/stores/index.js16
1 files changed, 9 insertions, 7 deletions
diff --git a/app/assets/javascripts/monitoring/stores/index.js b/app/assets/javascripts/monitoring/stores/index.js
index c1c466b7cf0..f08a6402aa6 100644
--- a/app/assets/javascripts/monitoring/stores/index.js
+++ b/app/assets/javascripts/monitoring/stores/index.js
@@ -7,16 +7,18 @@ import state from './state';
Vue.use(Vuex);
+export const monitoringDashboard = {
+ namespaced: true,
+ actions,
+ getters,
+ mutations,
+ state,
+};
+
export const createStore = () =>
new Vuex.Store({
modules: {
- monitoringDashboard: {
- namespaced: true,
- actions,
- getters,
- mutations,
- state,
- },
+ monitoringDashboard,
},
});