From 7cb7994cdae848053487d00c1730d1e865fb8623 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 7 Oct 2018 18:27:23 +0200 Subject: github: also pull users email --- webui/src/Author.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'webui/src/Author.js') diff --git a/webui/src/Author.js b/webui/src/Author.js index 0ad7e257..e8fe9f94 100644 --- a/webui/src/Author.js +++ b/webui/src/Author.js @@ -14,9 +14,13 @@ const styles = theme => ({ const Author = ({ author, bold, classes }) => { const klass = bold ? [classes.author, classes.bold] : [classes.author]; + if(!author.email) { + return {author.displayName} + } + return ( - {author.name} + {author.displayName} ); }; -- cgit