summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/javascripts/ide/components/repo_commit_section.vue3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/ide/components/repo_commit_section.vue b/app/assets/javascripts/ide/components/repo_commit_section.vue
index c4496942608..e19df063910 100644
--- a/app/assets/javascripts/ide/components/repo_commit_section.vue
+++ b/app/assets/javascripts/ide/components/repo_commit_section.vue
@@ -30,7 +30,7 @@ export default {
},
computed: {
...mapState([
- 'currentBranch',
+ 'currentBranchId',
]),
...mapGetters([
'changedFiles',
@@ -74,7 +74,6 @@ export default {
branch: this.currentBranchId,
endpoint: `/${this.currentProjectId}/tree/${to.params.branch}`,
});
-
})
.catch(() => {
this.submitCommitsLoading = false;