add Fragment inside extension logic
This commit is contained in:
parent
8af1f03176
commit
f748948e95
@ -33,6 +33,7 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
||||
options={dataFields.is_extension.items}
|
||||
/>
|
||||
{props.building.is_extension == "The main building" ? (
|
||||
<Fragment>
|
||||
<NumericDataEntry
|
||||
slug='date_year'
|
||||
title={dataFields.extension_year.title}
|
||||
@ -53,7 +54,9 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
||||
user_verified_as={props.user_verified.date_year}
|
||||
verified_count={props.building.verified.date_year}
|
||||
/>
|
||||
</Fragment>
|
||||
) : (
|
||||
<Fragment>
|
||||
<NumericDataEntry
|
||||
slug='extension_year'
|
||||
title={dataFields.extension_year.title}
|
||||
@ -66,6 +69,7 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
||||
max={currentYear}
|
||||
tooltip={dataFields.extension_year.tooltip_extension}
|
||||
/>
|
||||
</Fragment>
|
||||
)}
|
||||
<SelectDataEntry
|
||||
slug='developer_type'
|
||||
|
Loading…
Reference in New Issue
Block a user