summaryrefslogtreecommitdiffstats
path: root/settings/src/store/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/src/store/index.js')
-rw-r--r--settings/src/store/index.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/settings/src/store/index.js b/settings/src/store/index.js
index 1fe0c214d51..bf08e4aa390 100644
--- a/settings/src/store/index.js
+++ b/settings/src/store/index.js
@@ -2,6 +2,7 @@ import Vue from 'vue';
import Vuex from 'vuex';
import users from './users';
import settings from './settings';
+import oc from './oc';
Vue.use(Vuex)
@@ -10,13 +11,15 @@ const debug = process.env.NODE_ENV !== 'production';
const mutations = {
API_FAILURE(state, error) {
console.log(state, error);
+ OC.Notification.showTemporary(t('settings','An error occured during the request. Unable to proceed.'));
}
};
export default new Vuex.Store({
modules: {
users,
- settings
+ settings,
+ oc
},
strict: debug,