summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-06-01 12:12:52 +0100
committerPhil Hughes <me@iamphill.com>2018-06-01 12:12:52 +0100
commit61bf5edeb09ca8331dd9cf8bbe4400a01167b6af (patch)
tree6345f5782c9829d358151cc942ee789c6ea1492e
parent9ffb60acd8ab646eabfa32e6faaa3802c2aef2a6 (diff)
downloadgitlab-ce-61bf5edeb09ca8331dd9cf8bbe4400a01167b6af.tar.gz
set is loading in success mutation
-rw-r--r--app/assets/javascripts/ide/stores/modules/merge_requests/mutations.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/ide/stores/modules/merge_requests/mutations.js b/app/assets/javascripts/ide/stores/modules/merge_requests/mutations.js
index f02dbed6563..98102a68e08 100644
--- a/app/assets/javascripts/ide/stores/modules/merge_requests/mutations.js
+++ b/app/assets/javascripts/ide/stores/modules/merge_requests/mutations.js
@@ -9,6 +9,7 @@ export default {
state.isLoading = false;
},
[types.RECEIVE_MERGE_REQUESTS_SUCCESS](state, data) {
+ state.isLoading = false;
state.mergeRequests = data.map(mergeRequest => ({
id: mergeRequest.id,
iid: mergeRequest.iid,