🩹 front: do not share global input object between folder and file uploads (#861)

This commit is contained in:
ericlinagora
2025-03-24 23:53:15 +01:00
committed by GitHub
@@ -63,7 +63,7 @@ export default class UploadZone extends React.Component<PropsType, StateType> {
sharedFileInput = this.file_input; sharedFileInput = this.file_input;
} }
} else { } else {
this.file_input = sharedFileInput; this.file_input = this.props.directory ? sharedFolderInput : sharedFileInput;
} }
} }