Added the link display to the replies
This commit is contained in:
parent
9df6e248ad
commit
70fae4dcfc
|
@ -151,6 +151,9 @@ export default Vue.extend({
|
|||
comment.likes = null
|
||||
}
|
||||
comment.text = autolinker.link(comment.text)
|
||||
comment.replies.forEach((reply) => {
|
||||
reply.text = autolinker.link(reply.text)
|
||||
})
|
||||
return comment
|
||||
})
|
||||
this.commentData = this.commentData.concat(commentData)
|
||||
|
|
|
@ -96,9 +96,11 @@
|
|||
{{ reply.time }}
|
||||
</span>
|
||||
</p>
|
||||
<p class="commentText">
|
||||
{{ reply.text }}
|
||||
</p>
|
||||
<ft-timestamp-catcher
|
||||
class="commentText"
|
||||
:input-html="reply.text"
|
||||
@timestamp-event="onTimestamp"
|
||||
/>
|
||||
<p class="commentLikeCount">
|
||||
<font-awesome-icon
|
||||
icon="thumbs-up"
|
||||
|
|
Loading…
Reference in New Issue