This commit is contained in:
@@ -555,6 +555,25 @@ function cleanData(dat, atype) {
|
||||
]
|
||||
);
|
||||
break;
|
||||
case window.$gz.type.UnitModel:
|
||||
allowedProps.push(
|
||||
...[
|
||||
"Name",
|
||||
"Active",
|
||||
"Notes",
|
||||
"Wiki",
|
||||
"Tags",
|
||||
"VendorViz",
|
||||
"UPC",
|
||||
"LifeTimeWarranty",
|
||||
"IntroducedDate",
|
||||
"Discontinued",
|
||||
"DiscontinuedDate",
|
||||
"WarrantyLength",
|
||||
"WarrantyTerms"
|
||||
]
|
||||
);
|
||||
break;
|
||||
}
|
||||
|
||||
//Strip out any records that have fields not on our allowed list
|
||||
|
||||
Reference in New Issue
Block a user