Skip to content

Commit

Permalink
Remove tooltips unrelated to these fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoniecz committed Nov 25, 2024
1 parent b1669c5 commit b0836e2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/src/frontend/building/data-containers/age-history.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ const AgeHistoryView: React.FunctionComponent<CategoryViewProps> = (props) => {
step={1}
min={1}
max={currentYear}
tooltip={dataFields.extension_year.tooltip}
tooltip={dataFields.age_cladding_date.tooltip}
/>
<Verification
slug="age_cladding_date"
Expand Down Expand Up @@ -307,7 +307,7 @@ const AgeHistoryView: React.FunctionComponent<CategoryViewProps> = (props) => {
step={1}
min={1}
max={currentYear}
tooltip={dataFields.extension_year.tooltip}
tooltip={dataFields.age_extension_date.tooltip}
/>
<Verification
slug="age_extension_date"
Expand Down Expand Up @@ -357,7 +357,7 @@ const AgeHistoryView: React.FunctionComponent<CategoryViewProps> = (props) => {
step={1}
min={1}
max={currentYear}
tooltip={dataFields.extension_year.tooltip}
tooltip={dataFields.age_retrofit_date.tooltip}
/>
<Verification
slug="age_retrofit_date"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const RetrofitConditionView: React.FunctionComponent<CategoryViewProps> = (props
step={1}
min={1}
max={currentYear}
tooltip={dataFields.extension_year.tooltip}
tooltip={dataFields.age_retrofit_date.tooltip}
/>
<Verification
slug="age_retrofit_date"
Expand Down
6 changes: 3 additions & 3 deletions app/src/frontend/config/data-fields-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
age_cladding_date: {
category: Category.AgeHistory,
title: "Cladding date (best estimate)",
tooltip: "Width of the street in metres.",
tooltip: null,
example: 1970
},
age_cladding_date_source_type: {
Expand All @@ -2114,7 +2114,7 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
age_extension_date: {
category: Category.AgeHistory,
title: "Date of significant extensions (best estimate)",
tooltip: "Width of the street in metres.",
tooltip: null,
example: 1970
},
age_extension_date_source_type: {
Expand All @@ -2133,7 +2133,7 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
age_retrofit_date: {
category: Category.AgeHistory,
title: "Date of last significant retrofit (best estimate)",
tooltip: "Width of the street in metres.",
tooltip: null,
example: 1970
},
age_retrofit_date_source_type: {
Expand Down

0 comments on commit b0836e2

Please sign in to comment.