From 3ba9d0b5efd563af676a6c5d18b8a14f7e7c3c23 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Thu, 19 May 2022 13:04:53 +0100 Subject: [PATCH] add verification buttons construction --- app/src/api/config/dataFields.ts | 2 ++ .../building/data-containers/construction.tsx | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/app/src/api/config/dataFields.ts b/app/src/api/config/dataFields.ts index 6e442f39..ce17b80b 100644 --- a/app/src/api/config/dataFields.ts +++ b/app/src/api/config/dataFields.ts @@ -151,12 +151,14 @@ export const buildingAttributesConfig = valueType()({ /* eslint }, construction_core_material: { edit: true, + verify: true, }, construction_secondary_materials: { edit: false, }, construction_roof_covering: { edit: true, + verify: true, }, planning_portal_link: { edit: true, diff --git a/app/src/frontend/building/data-containers/construction.tsx b/app/src/frontend/building/data-containers/construction.tsx index 0ece42f1..d399cc0d 100644 --- a/app/src/frontend/building/data-containers/construction.tsx +++ b/app/src/frontend/building/data-containers/construction.tsx @@ -45,6 +45,14 @@ const ConstructionView: React.FunctionComponent = (props) => copy={props.copy} onChange={props.onChange} /> + = (props) => copy={props.copy} onChange={props.onChange} /> +