mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-10-15 20:08:23 +00:00
Fix for default home page.
This commit is contained in:
@@ -31,6 +31,15 @@ export default {
|
||||
activated() {
|
||||
document.title = this.$t("titles.trending") + " - Piped";
|
||||
if (this.videos.length > 0) this.updateWatched(this.videos);
|
||||
switch (this.getPreferenceString("homepage", "trending")) {
|
||||
case "trending":
|
||||
break;
|
||||
case "feed":
|
||||
this.$router.push("/feed");
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async fetchTrending(region) {
|
||||
|
Reference in New Issue
Block a user