only copy keys that are not blank
This commit is contained in:
parent
52a5a22967
commit
3318f0e21d
@ -84,7 +84,7 @@ const withCopyEdit: (wc: React.ComponentType<CategoryViewProps>) => DataContaine
|
||||
const categoryKeys = {};
|
||||
|
||||
for (let key in dataFields) {
|
||||
if (dataFields[key].category == props.cat){
|
||||
if (dataFields[key].category == props.cat && props.building[key] != null){
|
||||
categoryKeys[key] = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user