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")
|
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 {
|
||||||
|
|
Loading…
Reference in New Issue