Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #154 from Nike-Inc/bugfix/file_download_format
Browse files Browse the repository at this point in the history
Fix Dashboard Bug: Wrong download format
  • Loading branch information
sdford authored Apr 20, 2018
2 parents 889b8ad + ed6a3ac commit f776ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/app/actions/manageSafetyDepositBoxActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ export function downloadFile(token, fullPath, filename) {
})
.then((response) => {
let reader = new window.FileReader();
reader.readAsText(response.data);
reader.readAsArrayBuffer(response.data);
reader.onload = function() {
downloadjs(reader.result, filename)
}
Expand Down

0 comments on commit f776ab7

Please sign in to comment.