Fix upload file on sub folder (#1113)

pull/1114/head
yann300 4 years ago committed by GitHub
parent 8000f9dbaf
commit ea71718d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libs/remix-ui/file-explorer/src/lib/file-explorer.tsx

@ -1001,7 +1001,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
<div onClick={(e) => {
e.stopPropagation()
if (e && (e.target as any).getAttribute('data-id') === 'fileExplorerUploadFileuploadFile') return // we don't want to let propagate the input of type file
if (e && (e.target as any).getAttribute('data-id') === 'fileExplorerFileUpload') return // we don't want to let propagate the input of type file
let expandPath = []
if (!state.expandPath.includes(props.name)) {

Loading…
Cancel
Save