don't reload random covers
This commit is contained in:
@@ -112,10 +112,11 @@ export default {
|
||||
this.$store.dispatch("boxes/loadNewest");
|
||||
this.$store.dispatch("tracks/loadMostListened");
|
||||
this.$store.dispatch("videos/loadMostViewed");
|
||||
|
||||
this.$store.dispatch("albums/loadRandomCovers", 48);
|
||||
this.$store.dispatch("albums/loadAlbums", true);
|
||||
this.$store.dispatch("artists/loadArtists", true);
|
||||
if (this.randomCovers.length == 0) {
|
||||
this.$store.dispatch("albums/loadRandomCovers", 48);
|
||||
this.$store.dispatch("albums/loadAlbums", true);
|
||||
this.$store.dispatch("artists/loadArtists", true);
|
||||
}
|
||||
},
|
||||
loadNextPage() {
|
||||
this.scrollPosition = this.$refs.welcome.scrollTop;
|
||||
|
||||
Reference in New Issue
Block a user