mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
chore(upload)
This commit is contained in:
parent
726d16df03
commit
02e3d81293
@ -27,7 +27,6 @@ export const AssetCard = ({ asset, isSelected, onSelect, onEdit, onRemove, size,
|
||||
onRemove: onRemove ? () => onRemove(asset) : undefined,
|
||||
selected: isSelected,
|
||||
size,
|
||||
updatedAt: asset.updatedAt,
|
||||
};
|
||||
|
||||
if (asset.mime.includes(AssetType.Video)) {
|
||||
@ -42,6 +41,7 @@ export const AssetCard = ({ asset, isSelected, onSelect, onEdit, onRemove, size,
|
||||
height={asset.height}
|
||||
thumbnail={prefixFileUrlWithBackendUrl(asset?.formats?.thumbnail?.url || asset.url)}
|
||||
width={asset.width}
|
||||
updatedAt={asset.updatedAt}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user