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