Download CSV with UTF-8 support (#12990)
* Download CSV with UTF-8 support * update account portal
This commit is contained in:
parent
2fe6dbe8a5
commit
bee9422fad
|
@ -1 +1 @@
|
||||||
Subproject commit cc12291732ee902dc832bc7d93cf2086ffdf0cff
|
Subproject commit ba40a467484963f8041144345469f4b395e31acc
|
|
@ -341,7 +341,10 @@ const exportDataHandler = async action => {
|
||||||
format: action.parameters.type,
|
format: action.parameters.type,
|
||||||
columns: action.parameters.columns,
|
columns: action.parameters.columns,
|
||||||
})
|
})
|
||||||
download(data, `${selection.tableId}.${action.parameters.type}`)
|
download(
|
||||||
|
new Blob([data], { type: "text/plain" }),
|
||||||
|
`${selection.tableId}.${action.parameters.type}`
|
||||||
|
)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
notificationStore.actions.error("There was an error exporting the data")
|
notificationStore.actions.error("There was an error exporting the data")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue