Reports: only show quote if length > 0
This commit is contained in:
@ -125,7 +125,9 @@ class Report extends ImmutablePureComponent {
|
||||
)}
|
||||
</div>
|
||||
<div className='admin-report__quote'>
|
||||
<blockquote className='md' dangerouslySetInnerHTML={{ __html: report.get('content') }} />
|
||||
{report.get('content', '').length > 0 &&
|
||||
<blockquote className='md' dangerouslySetInnerHTML={{ __html: report.get('content') }} />
|
||||
}
|
||||
<span className='byline'>— @{report.getIn(['actor', 'acct'])}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user