|
|
@ -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: {
|
|
|
|