Fix event default image not showing up
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
6dc048f292
commit
8158fe43ff
|
@ -24,7 +24,7 @@ export default class LazyImageWrapper extends Vue {
|
||||||
get pictureOrDefault(): Partial<IMedia> {
|
get pictureOrDefault(): Partial<IMedia> {
|
||||||
return {
|
return {
|
||||||
url:
|
url:
|
||||||
this?.picture?.url === null
|
this?.picture === null
|
||||||
? "/img/mobilizon_default_card.png"
|
? "/img/mobilizon_default_card.png"
|
||||||
: this?.picture?.url,
|
: this?.picture?.url,
|
||||||
metadata: {
|
metadata: {
|
||||||
|
|
Loading…
Reference in a new issue