Fix no image preview

This commit is contained in:
grandeljay 2022-02-27 03:02:07 +01:00
parent 786b1adbd6
commit ce83385596

View file

@ -63,7 +63,7 @@ class Wish
$description = $this->description ?? $info->description ?? null;
$url = $this->url ?? $info->url ?? null;
$image = $info->image ?? '/src/assets/img/no-image.svg';
$image = $info->image ? $info->image : '/src/assets/img/no-image.svg';
$favicon = $info->favicon ?? null;
$providerName = $info->providerName ?? null;
$keywords = $info->keywords ?? null;