fix: remove temporary link element after csv download

This commit is contained in:
Patrick Wespi authored and Erik Ziegler committed 2022-01-04 09:10:35 +01:00
1 parent 2f115e6ab0
commit c2bbfc2cac
1 file changed
+1
@@ -161,4 +161,5 @@ function _createAndDownloadFile(csvContent) {
link.setAttribute('download', 'MeasurementReport.csv');
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
}