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:
authorClement Ho <clemmakesapps@gmail.com>2019-05-16 01:46:21 +0300
committerClement Ho <clemmakesapps@gmail.com>2019-05-16 01:46:21 +0300
commit5e53f25516180ef0f921626ecfc95959eae4f50e (patch)
treed32a93cce0ae9664884c8ab50af9ecac445c16f4
parent4a7db7fb88ba31b1c53a68643bd95ed3a0e72f98 (diff)
parent1dcc79cb094078d65e1a55dfb97e81005da82119 (diff)
Merge branch 'patch-55' into 'master'
Docs: couple of improvements to the Vuex frontend guide See merge request gitlab-org/gitlab-ce!28257
-rw-r--r--doc/development/fe_guide/vuex.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/fe_guide/vuex.md b/doc/development/fe_guide/vuex.md
index 7d52cac5f7e..bf248b7f8af 100644
--- a/doc/development/fe_guide/vuex.md
+++ b/doc/development/fe_guide/vuex.md
@@ -186,7 +186,7 @@ Remember that actions only describe that something happened, they don't describe
state.users.push(user);
},
[types.REQUEST_ADD_USER_ERROR](state, error) {
- state.isAddingUser = true;
+ state.isAddingUser = false;
state.errorAddingUser = error;
},
};
@@ -231,7 +231,7 @@ The store should be included in the main component of your application:
```javascript
// app.vue
- import store from 'store'; // it will include the index.js file
+ import store from './store'; // it will include the index.js file
export default {
name: 'application',