From dc2d026f7f5920d73ba47bb94bff55e688a50e99 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Mon, 25 Jul 2022 11:00:09 +0100 Subject: [PATCH] add planning_nhle_link --- app/src/api/config/dataFields.ts | 4 ++++ .../building/data-containers/planning.tsx | 16 ++++++++++++++++ app/src/frontend/config/data-fields-config.ts | 6 ++++++ migrations/032.planning_nhle.down.sql | 1 + migrations/032.planning_nhle.up.sql | 1 + 5 files changed, 28 insertions(+) create mode 100644 migrations/032.planning_nhle.down.sql create mode 100644 migrations/032.planning_nhle.up.sql diff --git a/app/src/api/config/dataFields.ts b/app/src/api/config/dataFields.ts index 69d915a3..06cec053 100644 --- a/app/src/api/config/dataFields.ts +++ b/app/src/api/config/dataFields.ts @@ -237,6 +237,10 @@ export const buildingAttributesConfig = valueType()({ /* eslint edit: true, verify: true, }, + planning_nhle_link: { + edit: true, + verify: true, + }, sust_breeam_rating: { edit: true, verify: true, diff --git a/app/src/frontend/building/data-containers/planning.tsx b/app/src/frontend/building/data-containers/planning.tsx index 2ac5403a..c3ea71ac 100644 --- a/app/src/frontend/building/data-containers/planning.tsx +++ b/app/src/frontend/building/data-containers/planning.tsx @@ -139,6 +139,22 @@ const PlanningView: React.FunctionComponent = (props) => ( user_verified_as={props.user_verified.planning_in_list} verified_count={props.building.verified.planning_in_list} /> + +