diff --git a/src/discussions/posts/post/PostLink.jsx b/src/discussions/posts/post/PostLink.jsx index b586bc15..eff57721 100644 --- a/src/discussions/posts/post/PostLink.jsx +++ b/src/discussions/posts/post/PostLink.jsx @@ -6,7 +6,7 @@ import { Link } from 'react-router-dom'; import { injectIntl, intlShape } from '@edx/frontend-platform/i18n'; import { Badge, Icon } from '@edx/paragon'; -import { Bookmark } from '@edx/paragon/icons'; +import { PushPin } from '@edx/paragon/icons'; import { AvatarOutlineAndLabelColors, Routes, ThreadType } from '../../../data/constants'; import AuthorLabel from '../../common/AuthorLabel'; @@ -40,6 +40,7 @@ function PostLink({ }); const showAnsweredBadge = post.hasEndorsed && post.type === ThreadType.QUESTION; const authorLabelColor = AvatarOutlineAndLabelColors[post.authorLabel]; + const postReported = post.abuseFlagged || post.abuseFlaggedCount; return ( - {post.pinned && ( -
- {' '}pinned - -
- )}
)} - {(post.abuseFlagged || post.abuseFlaggedCount) && ( + {postReported && ( {' '}reported )} + + {post.pinned && ( + + )}