summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/diffs/components/diff_content.vue
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-18 15:10:33 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-18 15:10:33 +0000
commitd9e07a155e65cd4a7d2a1e0f10cd200a6b57371e (patch)
tree74c8de74729a462db976287c0b709c754dce5b6f /app/assets/javascripts/diffs/components/diff_content.vue
parentf10eb9ebaefb0d6ff4ee7552dbf127dc70aaf27d (diff)
downloadgitlab-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.vue2
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