This commit is contained in:
2022-03-28 19:34:49 +00:00
parent 9b6274f4e0
commit 4f2cae558e

View File

@@ -166,7 +166,7 @@ export default {
//console.log("Flattened:", Flatten(dat)); //console.log("Flattened:", Flatten(dat));
console.log( console.log(
"if it was csv it should look like this:", "if it was csv it should look like this:\n",
Papa.unparse(dat) Papa.unparse(dat)
); );
@@ -451,6 +451,9 @@ function cleanData(dat, atype) {
] ]
); );
break; break;
case window.$gz.type.PartWarehouse:
allowedProps.push(...["Name", "Active", "Notes", "Wiki", "Tags"]);
break;
} }
//Strip out any records that have fields not on our allowed list //Strip out any records that have fields not on our allowed list