1
0
Fork 0
mirror of synced 2024-09-17 09:49:11 +12:00

Fix CSV encoding issue

Co-authored-by: Benjamin Mayanja <vibenjamin6@gmail.com>
This commit is contained in:
gitstart 2023-06-06 15:18:15 +00:00
parent f9f51f9ecf
commit 05851f6b19

View file

@ -130,7 +130,10 @@
notifications.error("Export Failed") notifications.error("Export Failed")
} }
if (response) { if (response) {
download(response, `export.${exportFormat}`) download(
new Blob([response], { type: "text/plain" }),
`export.${exportFormat}`
)
notifications.success("Export Successful") notifications.success("Export Successful")
} }
} else { } else {