diff --git a/tdrive/frontend/src/app/components/uploads/upload-zone.tsx b/tdrive/frontend/src/app/components/uploads/upload-zone.tsx index ba06bce8..de8d639f 100755 --- a/tdrive/frontend/src/app/components/uploads/upload-zone.tsx +++ b/tdrive/frontend/src/app/components/uploads/upload-zone.tsx @@ -63,7 +63,7 @@ export default class UploadZone extends React.Component { sharedFileInput = this.file_input; } } else { - this.file_input = sharedFileInput; + this.file_input = this.props.directory ? sharedFolderInput : sharedFileInput; } }