From b3ca4fef8836bae89c4da39e9432ccdf240b329c Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Mon, 6 Jun 2022 15:41:39 +0100 Subject: [PATCH] reintroduce designers field --- app/src/api/config/dataFields.ts | 5 ++++- .../building/data-containers/team.tsx | 20 ++++++++++++++++++- app/src/frontend/config/data-fields-config.ts | 6 ++++++ migrations/029.team.down.sql | 2 +- migrations/029.team.up.sql | 2 +- 5 files changed, 31 insertions(+), 4 deletions(-) diff --git a/app/src/api/config/dataFields.ts b/app/src/api/config/dataFields.ts index ee240079..742daab1 100644 --- a/app/src/api/config/dataFields.ts +++ b/app/src/api/config/dataFields.ts @@ -335,7 +335,10 @@ export const buildingAttributesConfig = valueType()({ /* eslint edit: true, verify: true }, - + designers: { + edit: true, + verify: true + }, designers_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 ca7d648e..21db14a7 100644 --- a/app/src/frontend/building/data-containers/team.tsx +++ b/app/src/frontend/building/data-containers/team.tsx @@ -91,7 +91,25 @@ const TeamView: React.FunctionComponent = (props) => { user_verified_as={props.user_verified.developer_type} verified_count={props.building.verified.developer_type} /> - + +