From 36f86216e6fe4c0586f955c18581ab1db7ec7f28 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Fri, 24 Jun 2022 15:15:39 +0100 Subject: [PATCH] blacklist more planning keys --- app/src/frontend/building/data-container.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/frontend/building/data-container.tsx b/app/src/frontend/building/data-container.tsx index d94da178..f4f026f6 100644 --- a/app/src/frontend/building/data-container.tsx +++ b/app/src/frontend/building/data-container.tsx @@ -85,7 +85,10 @@ const withCopyEdit: (wc: React.ComponentType) => 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];