mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-10 10:18:23 +00:00
Merge pull request #1756 from photochlorination/fix-homepage
Don't load trending page on feed homepage
This commit is contained in:
commit
d1c403765c
@ -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 => {
|
||||||
|
Loading…
Reference in New Issue
Block a user