summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/releases/components/release_block.vue
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/releases/components/release_block.vue')
-rw-r--r--app/assets/javascripts/releases/components/release_block.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/releases/components/release_block.vue b/app/assets/javascripts/releases/components/release_block.vue
index 61cd22dc161..515aa629476 100644
--- a/app/assets/javascripts/releases/components/release_block.vue
+++ b/app/assets/javascripts/releases/components/release_block.vue
@@ -44,7 +44,7 @@ export default {
return this.release.assets || {};
},
hasEvidence() {
- return Boolean(this.release.evidenceSha);
+ return Boolean(this.release.evidences && this.release.evidences.length);
},
milestones() {
return this.release.milestones || [];