Update PostComments vue component

This commit is contained in:
Daniel Supernault 2018-10-20 21:23:03 -06:00
parent 73d45e9c28
commit abe3003b20
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -61,7 +61,7 @@
<div class="cwrapper d-none"> <div class="cwrapper d-none">
<p class="mb-1 text-center load-more-link"><a href="#" class="text-muted" v-on:click="loadMore">Load more comments</a></p> <p class="mb-1 text-center load-more-link"><a href="#" class="text-muted" v-on:click="loadMore">Load more comments</a></p>
<div class="comments" data-min-id="0" data-max-id="0"> <div class="comments" data-min-id="0" data-max-id="0">
<p class="mb-2 d-flex justify-content-between align-items-center" v-for="(comment, index) in results" :data-id="comment.id" v-bind:key="comment.id"> <p class="mb-0 d-flex justify-content-between align-items-center" v-for="(comment, index) in results" :data-id="comment.id" v-bind:key="comment.id">
<span class="pr-3"> <span class="pr-3">
<span class="font-weight-bold pr-1"><bdi><a class="text-dark" :href="comment.account.url">{{comment.account.username}}</a></bdi></span> <span class="font-weight-bold pr-1"><bdi><a class="text-dark" :href="comment.account.url">{{comment.account.username}}</a></bdi></span>
<span class="comment-text" v-html="comment.content"></span> <span class="comment-text" v-html="comment.content"></span>