Update DiscoverComponent

This commit is contained in:
Daniel Supernault 2021-01-31 00:58:24 -07:00
parent 2c661b815c
commit 6af2bea5e0
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -195,12 +195,10 @@
if(this.trendingRange == 'daily' && this.trendingDaily.length) {
this.trending = this.trendingDaily;
this.trendingLoading = false;
return;
}
if(this.trendingRange == 'monthly' && this.trendingMonthly.length) {
this.trending = this.trendingMonthly;
this.trendingLoading = false;
return;
}
axios.get('/api/pixelfed/v2/discover/posts/trending', {
params: {