Fix CSV encoding issue
Co-authored-by: Benjamin Mayanja <vibenjamin6@gmail.com>
This commit is contained in:
parent
f9f51f9ecf
commit
05851f6b19
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue