Unverified Commit ea71718d authored by yann300's avatar yann300 Committed by GitHub

Fix upload file on sub folder (#1113)

parent 8000f9db
...@@ -1001,7 +1001,7 @@ export const FileExplorer = (props: FileExplorerProps) => { ...@@ -1001,7 +1001,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
<div onClick={(e) => { <div onClick={(e) => {
e.stopPropagation() 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') === '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 = [] let expandPath = []
if (!state.expandPath.includes(props.name)) { if (!state.expandPath.includes(props.name)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment