Reset File input value after file upload (#1642)

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2022-03-01 11:50:46 -07:00
committed by GitHub
parent 632c66539e
commit 36134f481e

View File

@@ -673,6 +673,8 @@ const ListObjects = ({
newFiles.push(e.target.files[i]);
}
uploadObject(newFiles, "");
e.target.value="";
};
const downloadObject = (object: BucketObject | RewindObject) => {