This commit is contained in:
2022-03-28 00:20:09 +00:00
parent 8f225c82c7
commit 96f39b132d

View File

@@ -379,6 +379,29 @@ function cleanData(dat, atype) {
]
);
break;
case window.$gz.type.Part:
allowedProps.push(
...[
"Name",
"Active",
"Description",
"Notes",
"Wiki",
"Tags",
"ManufacturerViz",
"ManufacturerNumber",
"WholeSalerViz",
"WholeSalerNumber",
"AlternativeWholeSalerViz",
"AlternativeWholeSalerNumber",
"Cost",
"Retail",
"UnitOfMeasure",
"UPC",
"PartSerialsViz"
]
);
break;
}
//Strip out any records that have fields not on our allowed list