switch N/A for blank
This commit is contained in:
parent
121437d5cc
commit
a312a8c0b7
@ -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>
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user