diff options
author | Phil Hughes <me@iamphill.com> | 2018-08-09 09:33:08 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-08-09 09:33:08 +0100 |
commit | b401bfd031d79bb178db1b88889ce1c831e9a075 (patch) | |
tree | 7c57c9624fc4010288ce91c6e5551a623559c57b | |
parent | 670db0aa2dcf0bbd2476a871a4a8ea9f4beb1817 (diff) | |
download | gitlab-ce-b401bfd031d79bb178db1b88889ce1c831e9a075.tar.gz |
removed un-used commits for currentProject & currentBranchId
-rw-r--r-- | app/assets/javascripts/ide/stores/actions/file.js | 3 | ||||
-rw-r--r-- | changelogs/unreleased/ide-open-empty-merge-request.yml | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/app/assets/javascripts/ide/stores/actions/file.js b/app/assets/javascripts/ide/stores/actions/file.js index 9e3f5da4676..c9795750d65 100644 --- a/app/assets/javascripts/ide/stores/actions/file.js +++ b/app/assets/javascripts/ide/stores/actions/file.js @@ -54,9 +54,6 @@ export const setFileActive = ({ commit, state, getters, dispatch }, path) => { commit(types.SET_FILE_ACTIVE, { path, active: true }); dispatch('scrollToTab'); - - commit(types.SET_CURRENT_PROJECT, file.projectId); - commit(types.SET_CURRENT_BRANCH, file.branchId); }; export const getFileData = ({ state, commit, dispatch }, { path, makeFileActive = true }) => { diff --git a/changelogs/unreleased/ide-open-empty-merge-request.yml b/changelogs/unreleased/ide-open-empty-merge-request.yml index 09cf231c25c..05f2de5d31c 100644 --- a/changelogs/unreleased/ide-open-empty-merge-request.yml +++ b/changelogs/unreleased/ide-open-empty-merge-request.yml @@ -1,5 +1,5 @@ --- title: Fix empty merge requests not opening in the Web IDE -merge_request: +merge_request: 21102 author: type: fixed |