summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/releases
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-12-21 16:03:09 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-12-21 16:03:09 +0000
commitf635fbdef61acdb9505eabb36709c45296cb6831 (patch)
tree6233794e331a6ae654bb6cb47e3734e54bde2a1e /app/assets/javascripts/releases
parentc64f08cad0d50be7f431c2fabace42d6a548d130 (diff)
downloadgitlab-ce-f635fbdef61acdb9505eabb36709c45296cb6831.tar.gz
Fixes if case to render author info in releasesfl-releases-fix-author
Diffstat (limited to 'app/assets/javascripts/releases')
-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 34b97826cdb..4295fef8f0a 100644
--- a/app/assets/javascripts/releases/components/release_block.vue
+++ b/app/assets/javascripts/releases/components/release_block.vue
@@ -45,7 +45,7 @@ export default {
return this.release.author || {};
},
hasAuthor() {
- return _.isEmpty(this.author);
+ return !_.isEmpty(this.author);
},
},
};