diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-18 15:10:33 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-18 15:10:33 +0000 |
commit | d9e07a155e65cd4a7d2a1e0f10cd200a6b57371e (patch) | |
tree | 74c8de74729a462db976287c0b709c754dce5b6f /app/assets/javascripts/diffs/components/diff_content.vue | |
parent | f10eb9ebaefb0d6ff4ee7552dbf127dc70aaf27d (diff) | |
download | gitlab-ce-d9e07a155e65cd4a7d2a1e0f10cd200a6b57371e.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/diffs/components/diff_content.vue')
-rw-r--r-- | app/assets/javascripts/diffs/components/diff_content.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/diffs/components/diff_content.vue b/app/assets/javascripts/diffs/components/diff_content.vue index 741462a849c..087a558efdc 100644 --- a/app/assets/javascripts/diffs/components/diff_content.vue +++ b/app/assets/javascripts/diffs/components/diff_content.vue @@ -147,7 +147,7 @@ export default { slot="image-overlay" :discussions="imageDiscussions" :file-hash="diffFileHash" - :can-comment="getNoteableData.current_user.can_create_note" + :can-comment="getNoteableData.current_user.can_create_note && !diffFile.brokenSymlink" /> <div v-if="showNotesContainer" class="note-container"> <user-avatar-link |