handle unusual case of Team having a non ccategory field
This commit is contained in:
parent
3320614176
commit
96df75e1cb
@ -89,6 +89,9 @@ const withCopyEdit: (wc: React.ComponentType<CategoryViewProps>) => DataContaine
|
||||
if (dataFields[key].category == props.cat && fieldName != null){
|
||||
categoryKeys[key] = true;
|
||||
}
|
||||
if (props.cat == 'team' && key == 'date_year' fieldName != null){
|
||||
categoryKeys[key] = true;
|
||||
}
|
||||
}
|
||||
if(newBuildingId !== state.currentBuildingId || newBuildingRevisionId > state.currentBuildingRevisionId) {
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user