fix: actually push the density srcset

This commit is contained in:
Princesseuh 2023-10-08 11:55:17 +02:00
parent 73a06292bc
commit fc86fdf0c3
No known key found for this signature in database
GPG key ID: 105BBD6D57F2B0C0

View file

@ -264,7 +264,7 @@ export const baseService: Omit<LocalImageService, 'transform'> = {
srcSetValue.transform.format = targetFormat; srcSetValue.transform.format = targetFormat;
} }
srcSet.push(); srcSet.push(srcSetValue);
}); });
} else if (widths) { } else if (widths) {
widths.forEach((width) => { widths.forEach((width) => {