This commit is contained in:
lesion 2022-04-29 17:56:34 +02:00
parent 1b2955cd1b
commit 49326d6b8a
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

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