Update Timeline component

This commit is contained in:
Daniel Supernault 2019-06-09 22:08:31 -06:00
parent e797d685b9
commit d377216899
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -182,7 +182,7 @@
</div> </div>
</div> </div>
</div> </div>
<div v-if="modes.infinite == true && !loading && feed.length > 0"> <div v-if="!loading && feed.length > 0">
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<infinite-loading @infinite="infiniteTimeline" :distance="800"> <infinite-loading @infinite="infiniteTimeline" :distance="800">
@ -192,9 +192,6 @@
</div> </div>
</div> </div>
</div> </div>
<div v-if="modes.infinite == false && !loading && feed.length > 0" class="pagination">
<p class="btn btn-outline-secondary font-weight-bold btn-block" v-on:click="loadMore">Load more posts</p>
</div>
<div v-if="!loading && scope == 'home' && feed.length == 0"> <div v-if="!loading && scope == 'home' && feed.length == 0">
<div class="card"> <div class="card">
<div class="card-body text-center"> <div class="card-body text-center">