From 10065d4599ac73711a8558f1ba2f4ac8dbe5927a Mon Sep 17 00:00:00 2001
From: Tim Zallmann <tzallmann@gitlab.com>
Date: Tue, 5 Dec 2017 09:07:15 +0100
Subject: [PATCH] Fix for Commiting Data

---
 app/assets/javascripts/ide/components/repo_commit_section.vue | 3 +--
 1 file changed, 1 insertion(+), 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 a23680308b1..23045665632 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;
-- 
GitLab