mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[bugfix/frontend] Export/import CSV correctly (#2294)
* [bugfix/frontend] Export/import CSV correctly * export mastodon style
This commit is contained in:
@ -56,12 +56,12 @@ function exportProcess(formData: ExportDomainPermsParams): _exportProcess {
|
||||
if (formData.exportType == "csv") {
|
||||
return {
|
||||
transformEntry: (entry) => [
|
||||
entry.domain, // #domain
|
||||
"suspend", // #severity
|
||||
false, // #reject_media
|
||||
false, // #reject_reports
|
||||
entry.public_comment, // #public_comment
|
||||
entry.obfuscate ?? false // #obfuscate
|
||||
entry.domain, // domain
|
||||
"suspend", // severity
|
||||
false, // reject_media
|
||||
false, // reject_reports
|
||||
entry.public_comment ?? "", // public_comment
|
||||
entry.obfuscate ?? false // obfuscate
|
||||
],
|
||||
stringify: (list) => csvUnparse({
|
||||
fields: [
|
||||
|
Reference in New Issue
Block a user