Doceditor:Components:SelectFolderDialog: enable create folder

This commit is contained in:
Timofey Boyko 2024-05-28 12:09:20 +03:00
parent 27e54dffc5
commit dc3ca111b0
2 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,7 @@ const SelectFileDialog = ({
submitButtonId="select-file-modal-submit" submitButtonId="select-file-modal-submit"
cancelButtonId="select-file-modal-cancel" cancelButtonId="select-file-modal-cancel"
{...fileTypeDetection} {...fileTypeDetection}
withCreateFolder={false}
/> />
); );
}; };

View File

@ -92,6 +92,7 @@ const SelectFolderDialog = ({
getFilesArchiveError={() => ""} getFilesArchiveError={() => ""}
parentId={0} parentId={0}
getIsDisabled={getIsDisabled} getIsDisabled={getIsDisabled}
withCreateFolder
/> />
); );
}; };