Support PNG images
#1
by
kramp
HF staff
- opened
- index.html +1 -1
index.html
CHANGED
@@ -18,7 +18,7 @@
|
|
18 |
this.models = data.models.map((model) => ({
|
19 |
id: model.id,
|
20 |
likes: model.likes,
|
21 |
-
images: model.images.filter((image) => image && image.endsWith(".jpg")),
|
22 |
}));
|
23 |
|
24 |
this.totalPages = data.totalPages;
|
|
|
18 |
this.models = data.models.map((model) => ({
|
19 |
id: model.id,
|
20 |
likes: model.likes,
|
21 |
+
images: model.images.filter((image) => image && (image.endsWith(".jpg") || image.endsWith(".png"))),
|
22 |
}));
|
23 |
|
24 |
this.totalPages = data.totalPages;
|