This commit is contained in:
2022-03-28 19:50:04 +00:00
parent 4f2cae558e
commit c2c09e3f7f

View File

@@ -454,6 +454,21 @@ function cleanData(dat, atype) {
case window.$gz.type.PartWarehouse:
allowedProps.push(...["Name", "Active", "Notes", "Wiki", "Tags"]);
break;
case window.$gz.type.Project:
allowedProps.push(
...[
"Name",
"Active",
"Notes",
"Wiki",
"Tags",
"DateStarted",
"DateCompleted",
"ProjectOverseerViz",
"AccountNumber"
]
);
break;
}
//Strip out any records that have fields not on our allowed list