diff --git a/client/coral-embed-stream/src/Comment.js b/client/coral-embed-stream/src/Comment.js index 83a950a9f..8563fe5e5 100644 --- a/client/coral-embed-stream/src/Comment.js +++ b/client/coral-embed-stream/src/Comment.js @@ -60,13 +60,6 @@ class Comment extends React.Component { body: PropTypes.string.isRequired, id: PropTypes.string.isRequired })), - tags: PropTypes.arrayOf( - PropTypes.shape({ - name: PropTypes.string, - assigned_by: PropTypes.string, - created_at: PropTypes.string - }) - ), user: PropTypes.shape({ id: PropTypes.string.isRequired, name: PropTypes.string.isRequired diff --git a/client/coral-framework/graphql/fragments/commentView.graphql b/client/coral-framework/graphql/fragments/commentView.graphql index 29f9b3bfe..352c65571 100644 --- a/client/coral-framework/graphql/fragments/commentView.graphql +++ b/client/coral-framework/graphql/fragments/commentView.graphql @@ -3,6 +3,9 @@ fragment commentView on Comment { body created_at status + tags { + name + } user { id name: displayName diff --git a/client/coral-plugin-tag-label/TagLabel.js b/client/coral-plugin-tag-label/TagLabel.js index 103982138..ee5b22f23 100644 --- a/client/coral-plugin-tag-label/TagLabel.js +++ b/client/coral-plugin-tag-label/TagLabel.js @@ -11,7 +11,7 @@ export default class TagLabel extends Component {