rename work_carried_out to year_work_carried_out
This commit is contained in:
parent
14fd83b7ee
commit
3716e0fc95
@ -33,7 +33,7 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
|||||||
|
|
||||||
<NumericDataEntry
|
<NumericDataEntry
|
||||||
slug='date_year'
|
slug='date_year'
|
||||||
title={dataFields.work_carried_out.title}
|
title={dataFields.year_work_carried_out.title}
|
||||||
value={currentBuildingConstructionYear}
|
value={currentBuildingConstructionYear}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
@ -41,7 +41,7 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
|||||||
step={1}
|
step={1}
|
||||||
min={1}
|
min={1}
|
||||||
max={currentYear}
|
max={currentYear}
|
||||||
tooltip={dataFields.work_carried_out.tooltip}
|
tooltip={dataFields.year_work_carried_out.tooltip}
|
||||||
/>
|
/>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
@ -62,16 +62,16 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<NumericDataEntry
|
<NumericDataEntry
|
||||||
slug='work_carried_out'
|
slug='year_work_carried_out'
|
||||||
title={dataFields.work_carried_out.title}
|
title={dataFields.year_work_carried_out.title}
|
||||||
value={props.building.work_carried_out}
|
value={props.building.year_work_carried_out}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
onChange={props.onChange}
|
onChange={props.onChange}
|
||||||
step={1}
|
step={1}
|
||||||
min={1}
|
min={1}
|
||||||
max={currentYear}
|
max={currentYear}
|
||||||
tooltip={dataFields.work_carried_out.tooltip_extension}
|
tooltip={dataFields.year_work_carried_out.tooltip_extension}
|
||||||
/>
|
/>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
|
@ -646,7 +646,7 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
|
|||||||
"A major extension"
|
"A major extension"
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
work_carried_out: {
|
year_work_carried_out: {
|
||||||
category: Category.Team,
|
category: Category.Team,
|
||||||
title: "When was the work carried out?",
|
title: "When was the work carried out?",
|
||||||
tooltip: "This field is the same as 'Year built (best estimate)' in the Age category'",
|
tooltip: "This field is the same as 'Year built (best estimate)' in the Age category'",
|
||||||
|
Loading…
Reference in New Issue
Block a user