mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 08:52:26 +00:00
Merge pull request #17455 from strapi/fix/upload-thumbnail-update
This commit is contained in:
commit
cccdae0db7
@ -41,6 +41,7 @@ export const AssetCard = ({ asset, isSelected, onSelect, onEdit, onRemove, size,
|
|||||||
height={asset.height}
|
height={asset.height}
|
||||||
thumbnail={prefixFileUrlWithBackendUrl(asset?.formats?.thumbnail?.url || asset.url)}
|
thumbnail={prefixFileUrlWithBackendUrl(asset?.formats?.thumbnail?.url || asset.url)}
|
||||||
width={asset.width}
|
width={asset.width}
|
||||||
|
updatedAt={asset.updatedAt}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -387,7 +387,7 @@ exports[`MediaLibrary / AssetList snapshots the asset list 1`] = `
|
|||||||
alt="strapi-cover_1fabc982ce.png"
|
alt="strapi-cover_1fabc982ce.png"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
class="c14"
|
class="c14"
|
||||||
src="http://localhost:1337/uploads/thumbnail_strapi_cover_1fabc982ce_5b43615ed5.png"
|
src="http://localhost:1337/uploads/thumbnail_strapi_cover_1fabc982ce_5b43615ed5.png?2021-09-14T07:32:50.816Z"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user