From 8158fe43ff589d4d21d7b46c39c44b143e47315f Mon Sep 17 00:00:00 2001
From: Thomas Citharel <tcit@tcit.fr>
Date: Mon, 14 Jun 2021 16:13:45 +0200
Subject: [PATCH] Fix event default image not showing up

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
---
 js/src/components/Image/LazyImageWrapper.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/src/components/Image/LazyImageWrapper.vue b/js/src/components/Image/LazyImageWrapper.vue
index 41779935c..7c27f44b6 100644
--- a/js/src/components/Image/LazyImageWrapper.vue
+++ b/js/src/components/Image/LazyImageWrapper.vue
@@ -24,7 +24,7 @@ export default class LazyImageWrapper extends Vue {
   get pictureOrDefault(): Partial<IMedia> {
     return {
       url:
-        this?.picture?.url === null
+        this?.picture === null
           ? "/img/mobilizon_default_card.png"
           : this?.picture?.url,
       metadata: {