summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-01-26 12:27:58 +0000
committerPhil Hughes <me@iamphill.com>2018-01-30 09:12:58 +0000
commitf4a15ac0a310e66c5643ae0f4295ea8fb2c2f24d (patch)
treef6b8b8d59b351740871cc332fb70fd3b8cac460e
parent94c8bd9f47df5762cd6e9603dbbaf38efa47a2e7 (diff)
downloadgitlab-ce-f4a15ac0a310e66c5643ae0f4295ea8fb2c2f24d.tar.gz
fixed failing IDE test
-rw-r--r--app/assets/javascripts/ide/stores/actions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/ide/stores/actions.js b/app/assets/javascripts/ide/stores/actions.js
index 69bd18e46b8..d007d0ae78f 100644
--- a/app/assets/javascripts/ide/stores/actions.js
+++ b/app/assets/javascripts/ide/stores/actions.js
@@ -71,7 +71,7 @@ export const setResizingStatus = ({ commit }, resizing) => {
export const checkCommitStatus = ({ state }) =>
service
.getBranchData(state.currentProjectId, state.currentBranchId)
- .then((data) => {
+ .then(({ data }) => {
const { id } = data.commit;
const selectedBranch =
state.projects[state.currentProjectId].branches[state.currentBranchId];