fancy-banner #25
@ -112,10 +112,11 @@ export default {
|
|||||||
this.$store.dispatch("boxes/loadNewest");
|
this.$store.dispatch("boxes/loadNewest");
|
||||||
this.$store.dispatch("tracks/loadMostListened");
|
this.$store.dispatch("tracks/loadMostListened");
|
||||||
this.$store.dispatch("videos/loadMostViewed");
|
this.$store.dispatch("videos/loadMostViewed");
|
||||||
|
if (this.randomCovers.length == 0) {
|
||||||
this.$store.dispatch("albums/loadRandomCovers", 48);
|
this.$store.dispatch("albums/loadRandomCovers", 48);
|
||||||
this.$store.dispatch("albums/loadAlbums", true);
|
this.$store.dispatch("albums/loadAlbums", true);
|
||||||
this.$store.dispatch("artists/loadArtists", true);
|
this.$store.dispatch("artists/loadArtists", true);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
loadNextPage() {
|
loadNextPage() {
|
||||||
this.scrollPosition = this.$refs.welcome.scrollTop;
|
this.scrollPosition = this.$refs.welcome.scrollTop;
|
||||||
|
Loading…
Reference in New Issue
Block a user