diff options
author | Phil Hughes <me@iamphill.com> | 2018-04-05 10:46:19 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-04-05 16:06:46 +0100 |
commit | 748cd7676242b8950ad81577af92e80303d783d6 (patch) | |
tree | a9de7b164d640432a6d28576768cdd057438543c /app/assets/javascripts | |
parent | 8cbbaf9d1b652761747ca8da076846710ba462ae (diff) | |
download | gitlab-ce-748cd7676242b8950ad81577af92e80303d783d6.tar.gz |
fixed tab being clicked throwing an error
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/ide/components/repo_tab.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/ide/components/repo_tab.vue b/app/assets/javascripts/ide/components/repo_tab.vue index 729be292cc0..65d203d9392 100644 --- a/app/assets/javascripts/ide/components/repo_tab.vue +++ b/app/assets/javascripts/ide/components/repo_tab.vue @@ -45,7 +45,7 @@ export default { this.updateDelayViewerUpdated(true); if (tab.pending) { - this.openPendingTab(tab); + this.openPendingTab({ file: tab, keyPrefix: tab.staged ? 'staged' : 'unstaged' }); } else { this.$router.push(`/project${tab.url}`); } |