From 49326d6b8a471df26c43d7c61a260b85ad468cfe Mon Sep 17 00:00:00 2001 From: lesion Date: Fri, 29 Apr 2022 17:56:34 +0200 Subject: [PATCH] minor --- components/MyPicture.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/MyPicture.vue b/components/MyPicture.vue index ac51788e..9bc33581 100644 --- a/components/MyPicture.vue +++ b/components/MyPicture.vue @@ -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 + "')" }