fix props values
This commit is contained in:
parent
fd2d0f0800
commit
9aff1efb0a
@ -56,7 +56,7 @@ const UseView: React.FunctionComponent<CategoryViewProps> = (props) => (
|
|||||||
<SelectDataEntry
|
<SelectDataEntry
|
||||||
title={dataFields.current_landuse_source.title}
|
title={dataFields.current_landuse_source.title}
|
||||||
slug="use_source"
|
slug="use_source"
|
||||||
value={props.current_landuse.source}
|
value={props.building.current_landuse_source}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
onChange={props.onChange}
|
onChange={props.onChange}
|
||||||
@ -82,7 +82,7 @@ const UseView: React.FunctionComponent<CategoryViewProps> = (props) => (
|
|||||||
<TextboxDataEntry
|
<TextboxDataEntry
|
||||||
title={dataFields.date_source_detail.title}
|
title={dataFields.date_source_detail.title}
|
||||||
slug="use_source_detail"
|
slug="use_source_detail"
|
||||||
value={props.current_landuse.source_detail}
|
value={props.building.current_landuse_source_detail}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
onChange={props.onChange}
|
onChange={props.onChange}
|
||||||
@ -91,7 +91,7 @@ const UseView: React.FunctionComponent<CategoryViewProps> = (props) => (
|
|||||||
<MultiDataEntry
|
<MultiDataEntry
|
||||||
title={dataFields.date_link.title}
|
title={dataFields.date_link.title}
|
||||||
slug="use_link"
|
slug="use_link"
|
||||||
value={props.current_landuse.link}
|
value={props.building.current_landuse_link}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
onChange={props.onChange}
|
onChange={props.onChange}
|
||||||
|
Loading…
Reference in New Issue
Block a user