diff --git a/ayanova/src/views/adm-import.vue b/ayanova/src/views/adm-import.vue index ab19a176..5c0bcb6f 100644 --- a/ayanova/src/views/adm-import.vue +++ b/ayanova/src/views/adm-import.vue @@ -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