diff --git a/app/src/frontend/building/data-containers/age.tsx b/app/src/frontend/building/data-containers/age.tsx index d1916323..7daeb194 100644 --- a/app/src/frontend/building/data-containers/age.tsx +++ b/app/src/frontend/building/data-containers/age.tsx @@ -30,6 +30,14 @@ const AgeView: React.FunctionComponent = (props) => { copy={props.copy} onChange={props.onChange} + allow_verify={props.user !== undefined && props.building.date_year !== null && !props.edited} + onVerify={props.onVerify} + user_verified={props.user_verified.hasOwnProperty("date_year")} + user_verified_as={props.user_verified.date_year} + verified_count={props.building.verified.date_year} + /> + = (props) => { copy={props.copy} onChange={props.onChange} + allow_verify={props.user !== undefined && props.building.date_year !== null && !props.edited} + onVerify={props.onVerify} + user_verified={props.user_verified.hasOwnProperty("date_year")} + user_verified_as={props.user_verified.date_year} + verified_count={props.building.verified.date_year} + /> +