This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user