From c7ff672e3bc863b1ad14b7781e76933c767f1233 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Thu, 19 May 2022 12:56:31 +0100 Subject: [PATCH] add verify button ref_osm_id --- app/src/api/config/dataFields.ts | 1 + app/src/frontend/building/data-containers/location.tsx | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/app/src/api/config/dataFields.ts b/app/src/api/config/dataFields.ts index 4e8f1c66..1f9d09d4 100644 --- a/app/src/api/config/dataFields.ts +++ b/app/src/api/config/dataFields.ts @@ -53,6 +53,7 @@ export const buildingAttributesConfig = valueType()({ /* eslint }, ref_osm_id: { edit: true, + verify: true, }, location_name: { edit: false, diff --git a/app/src/frontend/building/data-containers/location.tsx b/app/src/frontend/building/data-containers/location.tsx index d631388e..c908fc4a 100644 --- a/app/src/frontend/building/data-containers/location.tsx +++ b/app/src/frontend/building/data-containers/location.tsx @@ -127,6 +127,14 @@ const LocationView: React.FunctionComponent = (props) => ( maxLength={20} onChange={props.onChange} /> +