remove commented

This commit is contained in:
Ed Chalstrey 2022-05-19 10:31:48 +01:00
parent ba2b4b52ae
commit 252d7ba214

View File

@ -37,25 +37,15 @@ const AgeView: React.FunctionComponent<CategoryViewProps> = (props) => {
verified_count={props.building.verified.date_year} verified_count={props.building.verified.date_year}
allow_verify={props.user !== undefined && props.building.date_upper !== null && !props.edited} allow_verify={props.user !== undefined && props.building.date_upper !== null && !props.edited}
// onVerify={props.onVerify}
user_verified={props.user_verified.hasOwnProperty("date_upper")} user_verified={props.user_verified.hasOwnProperty("date_upper")}
user_verified_as={props.user_verified.date_upper} user_verified_as={props.user_verified.date_upper}
verified_count={props.building.verified.date_upper} verified_count={props.building.verified.date_upper}
allow_verify={props.user !== undefined && props.building.date_lower !== null && !props.edited} allow_verify={props.user !== undefined && props.building.date_lower !== null && !props.edited}
// onVerify={props.onVerify}
user_verified={props.user_verified.hasOwnProperty("date_lower")} user_verified={props.user_verified.hasOwnProperty("date_lower")}
user_verified_as={props.user_verified.date_lower} user_verified_as={props.user_verified.date_lower}
verified_count={props.building.verified.date_lower} verified_count={props.building.verified.date_lower}
/> />
// <Verification
// slug="date_year"
// 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}
// />
<NumericDataEntry <NumericDataEntry
title={dataFields.facade_year.title} title={dataFields.facade_year.title}
slug="facade_year" slug="facade_year"
@ -116,25 +106,15 @@ const AgeView: React.FunctionComponent<CategoryViewProps> = (props) => {
verified_count={props.building.verified.date_year} verified_count={props.building.verified.date_year}
allow_verify={props.user !== undefined && props.building.date_upper !== null && !props.edited} allow_verify={props.user !== undefined && props.building.date_upper !== null && !props.edited}
// onVerify={props.onVerify}
user_verified={props.user_verified.hasOwnProperty("date_upper")} user_verified={props.user_verified.hasOwnProperty("date_upper")}
user_verified_as={props.user_verified.date_upper} user_verified_as={props.user_verified.date_upper}
verified_count={props.building.verified.date_upper} verified_count={props.building.verified.date_upper}
allow_verify={props.user !== undefined && props.building.date_lower !== null && !props.edited} allow_verify={props.user !== undefined && props.building.date_lower !== null && !props.edited}
// onVerify={props.onVerify}
user_verified={props.user_verified.hasOwnProperty("date_lower")} user_verified={props.user_verified.hasOwnProperty("date_lower")}
user_verified_as={props.user_verified.date_lower} user_verified_as={props.user_verified.date_lower}
verified_count={props.building.verified.date_lower} verified_count={props.building.verified.date_lower}
/> />
// <Verification
// slug="date_year"
// 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}
// />
<NumericDataEntry <NumericDataEntry
title={dataFields.facade_year.title} title={dataFields.facade_year.title}
slug="facade_year" slug="facade_year"