Skip to content

Commit

Permalink
Merge pull request #711 from folio-org/release/9.2.1
Browse files Browse the repository at this point in the history
Release 9.2.1
  • Loading branch information
Jack-Golding authored Nov 27, 2024
2 parents 0e4956d + a0e2e02 commit 450fa1c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change history for stripes-erm-components

## 9.2.1 2024-11-27
* ERM-3431 License Export as CSV does not result in file download

## 9.2.0 2024-10-31
* ERM-3373 Update module license and guidance for stripes-erm-components
* ERM-3344 Move GitHub actions to shared workflows
Expand Down
5 changes: 2 additions & 3 deletions lib/utils/downloadBlob.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@ const downloadBlob = (
}

return blob => {
const url = window.URL.createObjectURL(blob);
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = downloadName;
document.body.appendChild(a);
a.click();
a.remove();
URL.revokeObjectURL(url);
};
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@folio/stripes-erm-components",
"version": "9.2.0",
"version": "9.2.1",
"description": "Component library for Stripes ERM applications",
"sideEffects": [
"*.css"
Expand Down

0 comments on commit 450fa1c

Please sign in to comment.