@@ -87,17 +87,15 @@ export default {
this.offset = Math.max(this.offset - this.limit, 0)
}
},
- getImageStyle (album) {
+ getImageUrl (album) {
let url = '../../../assets/audio/default-cover.png'
if (album.cover.original) {
url = this.$store.getters['instance/absoluteUrl'](album.cover.medium_square_crop)
} else {
- return {}
- }
- return {
- 'background-image': `url("${url}")`
+ return null
}
+ return url
}
},
watch: {
@@ -108,10 +106,10 @@ export default {
}
diff --git a/front/src/components/auth/Profile.vue b/front/src/components/auth/Profile.vue
index e1bdd416c..32dae5336 100644
--- a/front/src/components/auth/Profile.vue
+++ b/front/src/components/auth/Profile.vue
@@ -7,7 +7,7 @@