turn off link box whe null

This commit is contained in:
Ed Chalstrey 2022-05-12 16:17:57 +01:00
parent a312a8c0b7
commit dbf747d366

View File

@ -18,7 +18,7 @@ const AgeView: React.FunctionComponent<CategoryViewProps> = (props) => {
const currentYear = new Date().getFullYear(); const currentYear = new Date().getFullYear();
if (props.building.date_source == "Expert knowledge of building" || if (props.building.date_source == "Expert knowledge of building" ||
props.building.date_source == "Expert estimate from image" || props.building.date_source == "Expert estimate from image" ||
props.building.date_source == "" props.building.date_source == null
){ ){
return ( return (
<Fragment> <Fragment>