switch N/A for blank

This commit is contained in:
Ed Chalstrey 2022-05-12 16:13:29 +01:00
parent 121437d5cc
commit a312a8c0b7
2 changed files with 2 additions and 2 deletions

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 == "N/A" props.building.date_source == ""
){ ){
return ( return (
<Fragment> <Fragment>

View File

@ -285,7 +285,7 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
"Other website", "Other website",
"Other" "Other"
], ],
example: "N/A", example: "",
}, },
date_source_detail: { date_source_detail: {
category: Category.Age, category: Category.Age,