From 8bc77b38b3a99c54e7075b6e18954293105613d2 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Thu, 12 May 2022 15:57:46 +0100 Subject: [PATCH] fix if statement --- 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 0303acb6..f0fd429f 100644 --- a/app/src/frontend/building/data-containers/age.tsx +++ b/app/src/frontend/building/data-containers/age.tsx @@ -16,7 +16,7 @@ import { CategoryViewProps } from './category-view-props'; */ const AgeView: React.FunctionComponent = (props) => { const currentYear = new Date().getFullYear(); - if (props.building.date_source == "Expert knowledge of building" || "Expert estimate from image"){ + if (props.building.date_source == "Expert knowledge of building" || props.building.date_source == "Expert estimate from image"){ return (