This commit is contained in:
2022-03-29 15:35:26 +00:00
parent 8b83c2b907
commit 5227a15a9a

View File

@@ -555,6 +555,25 @@ function cleanData(dat, atype) {
] ]
); );
break; 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 //Strip out any records that have fields not on our allowed list