title | issue |
---|---|
Optimize variant listing loading |
NEXT-29587 |
- Added a new method
getDefaultFolderId
inmedia.api.service.js
to get the id of default folder of given entity with memoization. - Changed method
getDefaultFolderId
in componentsw-media-upload-v2
to get the callmediaService.getDefaultFolderId
with memoization. - Changed template
sw-product-modal-variant-generation.html.twig
andsw-product-variants-overview.html.twig
to injecttarget-folder-id
tosw-media-upload-v2
component instead ofdefault-folder
to reduce duplicate search folder requests.