enable date_year to be edited via Planning
This commit is contained in:
parent
1dbd4f2964
commit
92fcc44fc9
@ -31,8 +31,8 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
||||
/>
|
||||
|
||||
<NumericDataEntry
|
||||
slug='work_carried_out'
|
||||
title={dataFields.work_carried_out.title}
|
||||
slug='date_year'
|
||||
title={dataFields.date_year.title}
|
||||
value={currentBuildingConstructionYear}
|
||||
mode={props.mode}
|
||||
copy={props.copy}
|
||||
@ -40,7 +40,7 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
||||
step={1}
|
||||
min={1}
|
||||
max={currentYear}
|
||||
tooltip={dataFields.work_carried_out.tooltip}
|
||||
tooltip={dataFields.date_year.tooltip}
|
||||
/>
|
||||
</Fragment>
|
||||
);
|
||||
|
@ -645,11 +645,6 @@ 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"
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user