Merge pull request #1081 from datopian/fix/changed-the-download-behavior

Fixed error to remove anchor from document
This commit is contained in:
Leonardo Yuri Farias
2024-01-25 16:45:58 -03:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -137,7 +137,7 @@ export function BucketViewer({
a.download = data.fileName;
document.body.appendChild(a);
a.click();
document.removeChild(a);
document.body.removeChild(a);
}}
key={i}
onMouseEnter={() => setShowDownloadComponentOnLine(i)}