Fix upload file on sub folder (#1113)

pull/5370/head
yann300 4 years ago committed by GitHub
parent 13694d9ce5
commit 7eb5961769
  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