summaryrefslogtreecommitdiffstats
path: root/settings/src/store/settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/src/store/settings.js')
-rw-r--r--settings/src/store/settings.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/settings/src/store/settings.js b/settings/src/store/settings.js
new file mode 100644
index 00000000000..0ba827467a1
--- /dev/null
+++ b/settings/src/store/settings.js
@@ -0,0 +1,18 @@
+import api from './api';
+
+const state = {
+ serverData: {}
+};
+const mutations = {
+ setServerData(state, data) {
+ state.serverData = data;
+ }
+};
+const getters = {
+ getServerData(state) {
+ return state.serverData;
+ }
+};
+const actions = {};
+
+export default {state, mutations, getters, actions};