diff --git a/client/coral-embed-stream/src/components/Comment.js b/client/coral-embed-stream/src/components/Comment.js index 4349fe38d..b58bf2957 100644 --- a/client/coral-embed-stream/src/components/Comment.js +++ b/client/coral-embed-stream/src/components/Comment.js @@ -23,7 +23,7 @@ import {getActionSummary, iPerformedThisAction} from 'coral-framework/utils'; import styles from './Comment.css'; -const isStaff = tags => !tags.every(t => t.name !== 'STAFF'); +const isStaff = tags => !tags.every(t => t.id !== 'STAFF'); // hold actions links (e.g. Reply) along the comment footer const ActionButton = ({children}) => { @@ -72,7 +72,7 @@ class Comment extends React.Component { id: PropTypes.string.isRequired, tags: PropTypes.arrayOf( PropTypes.shape({ - name: PropTypes.string + id: PropTypes.string }) ), replies: PropTypes.arrayOf(