mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 08:19:07 +00:00
Merge pull request #13492 from strapi/features/ML-folder-richtext-media-dialog
MediaLibraryDialog: Fix displayed location after changes
This commit is contained in:
commit
8527bf533a
@ -20,7 +20,12 @@ export const MediaLibraryDialog = ({ onClose, onSelectAssets, allowedTypes }) =>
|
||||
return (
|
||||
<AssetDialog
|
||||
allowedTypes={allowedTypes}
|
||||
onClose={onClose}
|
||||
folderId={folderId}
|
||||
onClose={() => {
|
||||
setStep(undefined);
|
||||
setFolderId(null);
|
||||
onClose();
|
||||
}}
|
||||
onValidate={onSelectAssets}
|
||||
onAddAsset={() => setStep(STEPS.AssetUpload)}
|
||||
onAddFolder={() => setStep(STEPS.FolderCreate)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user