mirror of
https://github.com/strapi/strapi.git
synced 2025-11-25 14:41:15 +00:00
Merge pull request #14040 from strapi/fix/media-location-in-CM
Fix wrong file location when editing a file from the content-manager
This commit is contained in:
commit
8dd4468a7e
@ -61,7 +61,7 @@ const getDeepPopulate = (uid, populate) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (attribute.type === 'media') {
|
if (attribute.type === 'media') {
|
||||||
populateAcc[attributeName] = true;
|
populateAcc[attributeName] = { populate: 'folder' };
|
||||||
}
|
}
|
||||||
|
|
||||||
if (attribute.type === 'dynamiczone') {
|
if (attribute.type === 'dynamiczone') {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user