diff --git a/app/src/frontend/building/data-containers/team.tsx b/app/src/frontend/building/data-containers/team.tsx index badbbee9..801b6d47 100644 --- a/app/src/frontend/building/data-containers/team.tsx +++ b/app/src/frontend/building/data-containers/team.tsx @@ -10,22 +10,32 @@ import { CategoryViewProps } from './category-view-props'; /** * Team view/edit section */ -const TeamView: React.FunctionComponent = (props) => ( - - - = (props) => { + const building = props.building; + const currentBuildingConstructionYear = building.date_year || undefined; + return ( + + + + + - -); + + ); +}; const TeamContainer = withCopyEdit(TeamView); export default TeamContainer; diff --git a/app/src/frontend/config/data-fields-config.ts b/app/src/frontend/config/data-fields-config.ts index 639f8e7d..d5dd2d6c 100644 --- a/app/src/frontend/config/data-fields-config.ts +++ b/app/src/frontend/config/data-fields-config.ts @@ -645,6 +645,11 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */ items: [ "A major extension" ], + }, + work_carried_out: { + category: Category.Team, + title: "When was the work carried out?", + tooltip: "Best estimate" } };