diff --git a/src/views/Home.vue b/src/views/Home.vue index 8fec13e..0215f5d 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -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;