Update vue components

This commit is contained in:
Daniel Supernault 2020-11-25 18:00:49 -07:00
parent 2ab2c9a974
commit 0d3575fea4
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
2 changed files with 7 additions and 7 deletions

View File

@ -81,7 +81,7 @@
</div> </div>
</div> </div>
</section> </section>
<section class="pt-5 mb-5 section-explore"> <section v-if="posts.length" class="pt-5 mb-5 section-explore">
<div class="profile-timeline pt-3"> <div class="profile-timeline pt-3">
<div class="row p-0 mt-5"> <div class="row p-0 mt-5">
<!-- <div class="col-12 mb-3 d-flex justify-content-between align-items-center"> <!-- <div class="col-12 mb-3 d-flex justify-content-between align-items-center">
@ -284,10 +284,10 @@
}) })
.then(res => { .then(res => {
if(this.trendingRange == 'daily') { if(this.trendingRange == 'daily') {
this.trendingDaily = res.data; this.trendingDaily = res.data.filter(t => t.sensitive == false);
} }
if(this.trendingRange == 'monthly') { if(this.trendingRange == 'monthly') {
this.trendingMonthly = res.data; this.trendingMonthly = res.data.filter(t => t.sensitive == false);
} }
this.trending = res.data; this.trending = res.data;
}); });

View File

@ -16,8 +16,8 @@
</span> </span>
</p> </p>
<p class="mb-0 d-none d-md-block"> <p class="mb-0 d-none d-md-block">
<a class="btn btn-block btn-primary btn-sm font-weight-bold border" href="/i/compose" data-toggle="modal" data-target="#composeModal"> <a class="btn btn-block btn-primary btn-sm font-weight-bold" href="/i/compose" data-toggle="modal" data-target="#composeModal">
<i class="fas fa-camera fa-lg pt-1"></i> New Post
</a> </a>
</p> </p>
</div> </div>
@ -379,8 +379,8 @@
</span> </span>
</p> </p>
<p class="mb-0 d-none d-md-block"> <p class="mb-0 d-none d-md-block">
<a class="btn btn-block btn-primary btn-sm font-weight-bold border" href="/i/compose" data-toggle="modal" data-target="#composeModal"> <a class="btn btn-block btn-primary btn-sm font-weight-bold" href="/i/compose" data-toggle="modal" data-target="#composeModal">
<i class="fas fa-camera fa-lg pt-1"></i> New Post
</a> </a>
</p> </p>
</div> </div>