This commit is contained in:
lesion
2022-04-29 17:56:34 +02:00
parent 1b2955cd1b
commit 49326d6b8a

View File

@@ -37,7 +37,7 @@ export default {
}, },
computed: { computed: {
backgroundPreview () { backgroundPreview () {
if (this.media) { if (this.media && this.media.preview) {
return { return {
backgroundPosition: this.thumbnailPosition, backgroundPosition: this.thumbnailPosition,
backgroundImage: "url('data:image/png;base64," + this.media.preview + "')" } backgroundImage: "url('data:image/png;base64," + this.media.preview + "')" }