Don't load trending page on feed homepage

This commit is contained in:
photochlorination 2022-11-15 14:35:14 -08:00
parent 601da0d460
commit 26d39ae55c

View File

@ -21,6 +21,7 @@ export default {
}; };
}, },
mounted() { mounted() {
if (this.$route.path == "/" && this.getPreferenceString("homepage", "trending") == "feed") return;
let region = this.getPreferenceString("region", "US"); let region = this.getPreferenceString("region", "US");
this.fetchTrending(region).then(videos => { this.fetchTrending(region).then(videos => {