blacklist more planning keys

This commit is contained in:
Ed Chalstrey 2022-06-24 15:15:39 +01:00
parent 9885bf4b73
commit 36f86216e6

View File

@ -85,7 +85,10 @@ const withCopyEdit: (wc: React.ComponentType<CategoryViewProps>) => DataContaine
const categoryKeys = {};
const blackListedKeys = ['current_landuse_order',
'current_landuse_verified',
'planning_in_list'
'planning_in_list',
'planning_list_id',
'planning_list_cat',
'planning_list_grade'
]
for (let key in dataFields) {
let fieldName = props.building == undefined ? undefined : props.building[key];