diff --git a/client/coral-embed-stream/src/Comment.js b/client/coral-embed-stream/src/Comment.js index bbc8b6e00..554ebdf23 100644 --- a/client/coral-embed-stream/src/Comment.js +++ b/client/coral-embed-stream/src/Comment.js @@ -9,7 +9,7 @@ import React, {PropTypes} from 'react'; import PermalinkButton from 'coral-plugin-permalinks/PermalinkButton'; -// import AuthorName from '../../coral-plugin-author-name/AuthorName'; +import AuthorName from '../../coral-plugin-author-name/AuthorName'; import Content from '../../coral-plugin-commentcontent/CommentContent'; import PubDate from '../../coral-plugin-pubdate/PubDate'; import {ReplyBox, ReplyButton} from 'coral-plugin-replies'; @@ -81,7 +81,7 @@ class Comment extends React.Component { id={`c_${comment.id}`} style={{marginLeft: depth * 30}}>
- {/* */} + currentUser={currentUser}/> diff --git a/client/coral-embed-stream/src/graphql/queries/streamQuery.graphql b/client/coral-embed-stream/src/graphql/queries/streamQuery.graphql index aae62ccd7..8bd57bcb7 100644 --- a/client/coral-embed-stream/src/graphql/queries/streamQuery.graphql +++ b/client/coral-embed-stream/src/graphql/queries/streamQuery.graphql @@ -5,6 +5,9 @@ fragment commentView on Comment { user { id name: displayName + settings { + bio + } } actions { type: action_type diff --git a/client/coral-plugin-author-name/AuthorName.js b/client/coral-plugin-author-name/AuthorName.js index bf970b3c4..610d425f8 100644 --- a/client/coral-plugin-author-name/AuthorName.js +++ b/client/coral-plugin-author-name/AuthorName.js @@ -36,7 +36,7 @@ export default class AuthorName extends Component { onMouseOver={this.handleMouseOver} onMouseLeave={this.handleMouseLeave} > - {author && author.displayName} + {author && author.name} { showTooltip &&
{author.settings.bio}