Merge pull request #1081 from datopian/fix/changed-the-download-behavior
Fixed error to remove anchor from document
This commit is contained in:
commit
464cda6db8
5
.changeset/four-lions-boil.md
Normal file
5
.changeset/four-lions-boil.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
'@portaljs/components': patch
|
||||
---
|
||||
|
||||
Fixed error to remove anchor from document
|
||||
@ -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)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user