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