mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-21 05:16:54 +08:00
### What problem does this PR solve? feat: Disable clicking the Next button while uploading files in RunDrawer #3355 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -18,7 +18,9 @@ const FileIcon = ({ name, id }: IProps) => {
|
||||
const fileThumbnail = fileThumbnails[id];
|
||||
|
||||
useEffect(() => {
|
||||
setDocumentIds([id]);
|
||||
if (id) {
|
||||
setDocumentIds([id]);
|
||||
}
|
||||
}, [id, setDocumentIds]);
|
||||
|
||||
return fileThumbnail ? (
|
||||
|
||||
Reference in New Issue
Block a user