From d921a598581d57eb911e8d8b231cc51ad0c61d82 Mon Sep 17 00:00:00 2001 From: David Jay Date: Tue, 24 Jan 2017 14:39:46 -0500 Subject: [PATCH] Hiding bio tooltip when the user has no bio. --- client/coral-plugin-author-name/AuthorName.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/coral-plugin-author-name/AuthorName.js b/client/coral-plugin-author-name/AuthorName.js index 610d425f8..fcf464403 100644 --- a/client/coral-plugin-author-name/AuthorName.js +++ b/client/coral-plugin-author-name/AuthorName.js @@ -37,7 +37,7 @@ export default class AuthorName extends Component { onMouseLeave={this.handleMouseLeave} > {author && author.name} - { showTooltip && + { showTooltip && author.settings.bio &&
{author.settings.bio}