Fix Bug 47237
This commit is contained in:
parent
f8d0499d22
commit
c6b68ab7c6
|
@ -718,7 +718,9 @@ const CommentList = inject("storeComments", "storeAppOptions")(observer(({storeC
|
||||||
</div>
|
</div>
|
||||||
<div slot='footer'>
|
<div slot='footer'>
|
||||||
{comment.quote && <div className='comment-quote'>{sliceQuote(comment.quote)}</div>}
|
{comment.quote && <div className='comment-quote'>{sliceQuote(comment.quote)}</div>}
|
||||||
<div className='comment-text'><pre>{comment.comment}</pre></div>
|
<div className='comment-text'>{ (comment.comment).includes('https://')?
|
||||||
|
<a onClick={() => window.open(comment.comment)}>{comment.comment}</a> :
|
||||||
|
<pre>{comment.comment}</pre>}</div>
|
||||||
{comment.replies.length > 0 &&
|
{comment.replies.length > 0 &&
|
||||||
<ul className='reply-list'>
|
<ul className='reply-list'>
|
||||||
{comment.replies.map((reply, indexReply) => {
|
{comment.replies.map((reply, indexReply) => {
|
||||||
|
|
Loading…
Reference in a new issue