From 3ef764dc75446041ae9e5b1989f30cfbbcdf21fc Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Fri, 10 Jun 2022 13:38:54 +0100 Subject: [PATCH] add developer_name 2nd attempt --- app/src/api/config/dataFields.ts | 4 ++++ .../building/data-containers/team.tsx | 19 +++++++++++++++++++ app/src/frontend/config/data-fields-config.ts | 6 ++++++ migrations/029.team.down.sql | 1 + migrations/029.team.up.sql | 1 + 5 files changed, 31 insertions(+) diff --git a/app/src/api/config/dataFields.ts b/app/src/api/config/dataFields.ts index 9f32ec02..9ad4f97d 100644 --- a/app/src/api/config/dataFields.ts +++ b/app/src/api/config/dataFields.ts @@ -335,6 +335,10 @@ export const buildingAttributesConfig = valueType()({ /* eslint edit: true, verify: true }, + developer_name: { + edit: true, + verify: true + }, developer_source_link: { edit: true, verify: true diff --git a/app/src/frontend/building/data-containers/team.tsx b/app/src/frontend/building/data-containers/team.tsx index f52d717b..64ded5a3 100644 --- a/app/src/frontend/building/data-containers/team.tsx +++ b/app/src/frontend/building/data-containers/team.tsx @@ -91,6 +91,25 @@ const TeamView: React.FunctionComponent = (props) => { user_verified_as={props.user_verified.developer_type} verified_count={props.building.verified.developer_type} /> + +