This commit is contained in:
@@ -517,6 +517,44 @@ function cleanData(dat, atype) {
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
case window.$gz.type.Unit:
|
||||||
|
allowedProps.push(
|
||||||
|
...[
|
||||||
|
"Serial",
|
||||||
|
"Active",
|
||||||
|
"Notes",
|
||||||
|
"Wiki",
|
||||||
|
"Tags",
|
||||||
|
"CustomerViz",
|
||||||
|
"ParentUnitViz",
|
||||||
|
"UnitModelNameViz",
|
||||||
|
"UnitHasOwnAddress",
|
||||||
|
"BoughtHere",
|
||||||
|
"PurchasedFromVendorViz",
|
||||||
|
"Receipt",
|
||||||
|
"PurchasedDate",
|
||||||
|
"Description",
|
||||||
|
"ReplacedByUnitViz",
|
||||||
|
"OverrideModelWarranty",
|
||||||
|
"WarrantyLength",
|
||||||
|
"WarrantyTerms",
|
||||||
|
"ContractViz",
|
||||||
|
"ContractExpires",
|
||||||
|
"Metered",
|
||||||
|
"LifeTimeWarranty",
|
||||||
|
"Text1",
|
||||||
|
"Text2",
|
||||||
|
"Text3",
|
||||||
|
"Text4",
|
||||||
|
"Address",
|
||||||
|
"City",
|
||||||
|
"Region",
|
||||||
|
"Country",
|
||||||
|
"Latitude",
|
||||||
|
"Longitude"
|
||||||
|
]
|
||||||
|
);
|
||||||
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user