diff options
author | Phil Hughes <me@iamphill.com> | 2018-03-22 17:19:44 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-03-28 14:08:29 +0100 |
commit | e2f273935e33329684ea88f02975f8a37548cfe5 (patch) | |
tree | 53d3937a2eb3fbe34da010292795c5c00b3f2dc0 /app/assets/javascripts/ide/components/commit_sidebar/list_item.vue | |
parent | 002cc923898335cbd3a1068d914fb09696e7f8e5 (diff) | |
download | gitlab-ce-e2f273935e33329684ea88f02975f8a37548cfe5.tar.gz |
toggling viewer mode closes the pending tab
then opens the file in edit mode
Diffstat (limited to 'app/assets/javascripts/ide/components/commit_sidebar/list_item.vue')
-rw-r--r-- | app/assets/javascripts/ide/components/commit_sidebar/list_item.vue | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/assets/javascripts/ide/components/commit_sidebar/list_item.vue b/app/assets/javascripts/ide/components/commit_sidebar/list_item.vue index e443bd4e3fa..421be7fb3cb 100644 --- a/app/assets/javascripts/ide/components/commit_sidebar/list_item.vue +++ b/app/assets/javascripts/ide/components/commit_sidebar/list_item.vue @@ -1,7 +1,6 @@ <script> import { mapActions } from 'vuex'; import icon from '~/vue_shared/components/icon.vue'; -import router from '../../ide_router'; export default { components: { @@ -26,7 +25,6 @@ export default { openFileInEditor(file) { return this.updateViewer('diff').then(() => { this.openPendingTab(file); - router.push(`/project/${file.projectId}/tree/master/`); }); }, }, |