Fix: Project banners aren't showing in collections (#1562)
* Add featured image * Use find method * Fix lint error * ... * Fix * Fix lint error
This commit is contained in:
parent
d2f189607e
commit
ec6e1704be
@ -284,6 +284,7 @@
|
|||||||
:description="project.description"
|
:description="project.description"
|
||||||
:downloads="project.downloads ? project.downloads.toString() : '0'"
|
:downloads="project.downloads ? project.downloads.toString() : '0'"
|
||||||
:follows="project.followers ? project.followers.toString() : '0'"
|
:follows="project.followers ? project.followers.toString() : '0'"
|
||||||
|
:featured-image="project.gallery.find((element) => element.featured)?.url"
|
||||||
:icon-url="project.icon_url"
|
:icon-url="project.icon_url"
|
||||||
:name="project.title"
|
:name="project.title"
|
||||||
:client-side="project.client_side"
|
:client-side="project.client_side"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user