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:
Pierre Noël 2022-08-09 19:13:15 +02:00 committed by GitHub
commit 8dd4468a7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ const getDeepPopulate = (uid, populate) => {
}
if (attribute.type === 'media') {
populateAcc[attributeName] = true;
populateAcc[attributeName] = { populate: 'folder' };
}
if (attribute.type === 'dynamiczone') {