From dbf747d3661249f28d99a841fc16c46be5846316 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Thu, 12 May 2022 16:17:57 +0100 Subject: [PATCH] turn off link box whe null --- app/src/frontend/building/data-containers/age.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/frontend/building/data-containers/age.tsx b/app/src/frontend/building/data-containers/age.tsx index 914f059b..fb50f751 100644 --- a/app/src/frontend/building/data-containers/age.tsx +++ b/app/src/frontend/building/data-containers/age.tsx @@ -18,7 +18,7 @@ const AgeView: React.FunctionComponent = (props) => { const currentYear = new Date().getFullYear(); if (props.building.date_source == "Expert knowledge of building" || props.building.date_source == "Expert estimate from image" || - props.building.date_source == "" + props.building.date_source == null ){ return (