mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-30 19:03:21 +00:00
Update vue components
This commit is contained in:
parent
2ab2c9a974
commit
0d3575fea4
2 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||||
});
|
});
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue