Merge pull request #1756 from photochlorination/fix-homepage

Don't load trending page on feed homepage
This commit is contained in:
Kavin 2022-11-16 18:47:52 +00:00 committed by GitHub
commit d1c403765c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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