Skip to content

Commit

Permalink
Reset File input value after file upload (#1642)
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
  • Loading branch information
bexsoft committed Mar 1, 2022
1 parent 632c665 commit 36134f4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,8 @@ const ListObjects = ({
newFiles.push(e.target.files[i]);
}
uploadObject(newFiles, "");

e.target.value="";
};

const downloadObject = (object: BucketObject | RewindObject) => {
Expand Down

0 comments on commit 36134f4

Please sign in to comment.