Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-24 18:09:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-24 18:09:10 +0300
commit7f79d4c409705a05bcf5e11dbe6e8738b0e17fe6 (patch)
tree33d2cc91b6b82a907e2eef019590119e1573e2a3 /app/assets/javascripts/repository
parentae78b85a25cb0c19c3d6a2e4e6c7ca91ed50787d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/repository')
-rw-r--r--app/assets/javascripts/repository/components/last_commit.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/repository/components/last_commit.vue b/app/assets/javascripts/repository/components/last_commit.vue
index 968bd9af84f..64003630271 100644
--- a/app/assets/javascripts/repository/components/last_commit.vue
+++ b/app/assets/javascripts/repository/components/last_commit.vue
@@ -79,7 +79,7 @@ export default {
return this.$apollo.queries.commit.loading;
},
showCommitId() {
- return this.commit.sha.substr(0, 8);
+ return this.commit?.sha?.substr(0, 8);
},
},
watch: {