1
0
Fork 0
mirror of synced 2024-09-08 21:51:58 +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")
}
if (response) {
download(response, `export.${exportFormat}`)
download(
new Blob([response], { type: "text/plain" }),
`export.${exportFormat}`
)
notifications.success("Export Successful")
}
} else {