From 3716e0fc958f2ea33327b5d9115c6652d6aab4ed Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Wed, 1 Jun 2022 14:19:42 +0100 Subject: [PATCH] rename work_carried_out to year_work_carried_out --- app/src/frontend/building/data-containers/team.tsx | 12 ++++++------ app/src/frontend/config/data-fields-config.ts | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) 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'",