diff --git a/app/src/frontend/building/data-containers/team.tsx b/app/src/frontend/building/data-containers/team.tsx index ce2faf0e..9f8d255c 100644 --- a/app/src/frontend/building/data-containers/team.tsx +++ b/app/src/frontend/building/data-containers/team.tsx @@ -33,7 +33,7 @@ const TeamView: React.FunctionComponent = (props) => { = (props) => { step={1} min={1} max={currentYear} - tooltip={dataFields.work_carried_out.tooltip} + tooltip={dataFields.year_work_carried_out.tooltip} /> ); @@ -62,16 +62,16 @@ const TeamView: React.FunctionComponent = (props) => { /> ); diff --git a/app/src/frontend/config/data-fields-config.ts b/app/src/frontend/config/data-fields-config.ts index da889f53..2de3e609 100644 --- a/app/src/frontend/config/data-fields-config.ts +++ b/app/src/frontend/config/data-fields-config.ts @@ -646,7 +646,7 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */ "A major extension" ], }, - work_carried_out: { + year_work_carried_out: { category: Category.Team, title: "When was the work carried out?", tooltip: "This field is the same as 'Year built (best estimate)' in the Age category'",