mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-03-12 15:16:46 +00:00
Update DiscoverComponent
This commit is contained in:
parent
2c661b815c
commit
6af2bea5e0
1 changed files with 0 additions and 2 deletions
|
@ -195,12 +195,10 @@
|
||||||
if(this.trendingRange == 'daily' && this.trendingDaily.length) {
|
if(this.trendingRange == 'daily' && this.trendingDaily.length) {
|
||||||
this.trending = this.trendingDaily;
|
this.trending = this.trendingDaily;
|
||||||
this.trendingLoading = false;
|
this.trendingLoading = false;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
if(this.trendingRange == 'monthly' && this.trendingMonthly.length) {
|
if(this.trendingRange == 'monthly' && this.trendingMonthly.length) {
|
||||||
this.trending = this.trendingMonthly;
|
this.trending = this.trendingMonthly;
|
||||||
this.trendingLoading = false;
|
this.trendingLoading = false;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
axios.get('/api/pixelfed/v2/discover/posts/trending', {
|
axios.get('/api/pixelfed/v2/discover/posts/trending', {
|
||||||
params: {
|
params: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue