mirror of
https://github.com/wassname/talk.git
synced 2026-07-10 04:51:33 +08:00
Update Comment.js
Ternary to display asset url if there's no asset title in admin comments
This commit is contained in:
@@ -122,7 +122,7 @@ class Comment extends React.Component {
|
||||
</div>
|
||||
|
||||
<div className={styles.moderateArticle}>
|
||||
Story: {comment.asset.title}
|
||||
Story: {comment.asset.title ? comment.asset.title : comment.asset.url}
|
||||
{!currentAsset && (
|
||||
<Link to={`/admin/moderate/${comment.asset.id}`}>
|
||||
{t('modqueue.moderate')}
|
||||
|
||||
Reference in New Issue
Block a user