This commit is contained in:
2022-03-29 18:12:36 +00:00
parent 06e33933f8
commit 7624d0a19a

View File

@@ -166,10 +166,10 @@ export default {
//debugger; //debugger;
//console.log("Flattened:", Flatten(dat)); //console.log("Flattened:", Flatten(dat));
console.log( // console.log(
"if it was csv it should look like this:\n", // "if it was csv it should look like this:\n",
Papa.unparse(dat) // Papa.unparse(dat)
); // );
//upload the data //upload the data
await this.upload(dat); await this.upload(dat);
@@ -284,7 +284,7 @@ async function parseCSVFile(file) {
Papa.parse(file, { Papa.parse(file, {
header: true, header: true,
skipEmptyLines: true, skipEmptyLines: true,
dynamicTyping: true, // dynamicTyping: true,
worker: true, worker: true,
complete, complete,
error error