This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user