Reset File input value after file upload (#1642)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
@@ -673,6 +673,8 @@ const ListObjects = ({
|
||||
newFiles.push(e.target.files[i]);
|
||||
}
|
||||
uploadObject(newFiles, "");
|
||||
|
||||
e.target.value="";
|
||||
};
|
||||
|
||||
const downloadObject = (object: BucketObject | RewindObject) => {
|
||||
|
||||
Reference in New Issue
Block a user