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.likes = null
|
||||||
}
|
}
|
||||||
comment.text = autolinker.link(comment.text)
|
comment.text = autolinker.link(comment.text)
|
||||||
|
comment.replies.forEach((reply) => {
|
||||||
|
reply.text = autolinker.link(reply.text)
|
||||||
|
})
|
||||||
return comment
|
return comment
|
||||||
})
|
})
|
||||||
this.commentData = this.commentData.concat(commentData)
|
this.commentData = this.commentData.concat(commentData)
|
||||||
|
|
|
@ -96,9 +96,11 @@
|
||||||
{{ reply.time }}
|
{{ reply.time }}
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="commentText">
|
<ft-timestamp-catcher
|
||||||
{{ reply.text }}
|
class="commentText"
|
||||||
</p>
|
:input-html="reply.text"
|
||||||
|
@timestamp-event="onTimestamp"
|
||||||
|
/>
|
||||||
<p class="commentLikeCount">
|
<p class="commentLikeCount">
|
||||||
<font-awesome-icon
|
<font-awesome-icon
|
||||||
icon="thumbs-up"
|
icon="thumbs-up"
|
||||||
|
|
Loading…
Reference in New Issue