Fix event default image not showing up

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-06-14 16:13:45 +02:00
parent 6dc048f292
commit 8158fe43ff
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -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: {