🩹 front: do not share global input object between folder and file uploads

This commit is contained in:
Eric Doughty-Papassideris
2025-03-24 20:25:47 +01:00
parent 0f63b7aca2
commit 1aae6c5b8e
@@ -63,7 +63,7 @@ export default class UploadZone extends React.Component<PropsType, StateType> {
sharedFileInput = this.file_input;
}
} else {
this.file_input = sharedFileInput;
this.file_input = this.props.directory ? sharedFolderInput : sharedFileInput;
}
}