impr(csv export): change main delimiter from | to , (vjgtigers) (#5249)

This commit is contained in:
Vaughn Gugger 2024-03-25 07:44:57 -04:00 committed by GitHub
parent 365572f652
commit a0403f79a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1230,7 +1230,7 @@ export async function downloadResultsCSV(
item.acc,
item.rawWpm,
item.consistency,
item.charStats.join(","),
item.charStats.join(";"),
item.mode,
item.mode2,
item.quoteLength,
@ -1246,11 +1246,11 @@ export async function downloadResultsCSV(
item.lazyMode,
item.blindMode,
item.bailedOut,
item.tags.join(","),
item.tags.join(";"),
item.timestamp,
]),
]
.map((e) => e.join("|"))
.map((e) => e.join(","))
.join("\n");
const blob = new Blob([csvString], { type: "text/csv" });