fix prev commit

This commit is contained in:
Ed Chalstrey 2022-06-24 15:38:18 +01:00
parent cc989664d0
commit 8f4a36fbb6

View File

@ -35,6 +35,7 @@ const CommunityView: React.FunctionComponent<CategoryViewProps> = (props) => {
onChange={props.onSaveChange} onChange={props.onSaveChange}
mode={props.mode} mode={props.mode}
/> />
<LogicalDataEntry <LogicalDataEntry
slug='community_type_worth_keeping' slug='community_type_worth_keeping'
@ -46,6 +47,7 @@ const CommunityView: React.FunctionComponent<CategoryViewProps> = (props) => {
onChange={props.onSaveChange} onChange={props.onSaveChange}
mode={props.mode} mode={props.mode}
/> />
{ {
props.building.community_type_worth_keeping !== false && props.building.community_type_worth_keeping !== false &&
@ -62,6 +64,7 @@ const CommunityView: React.FunctionComponent<CategoryViewProps> = (props) => {
label: definition.title label: definition.title
})) }))
} }
mode={props.mode} mode={props.mode}
/> />
} }
@ -75,6 +78,7 @@ const CommunityView: React.FunctionComponent<CategoryViewProps> = (props) => {
onChange={props.onSaveChange} onChange={props.onSaveChange}
mode={props.mode} mode={props.mode}
copy={props.copy}
/> />
</div> </div>