verify current_landuse_source
This commit is contained in:
parent
71b09c72f2
commit
bf8800930d
@ -262,6 +262,7 @@ export const buildingAttributesConfig = valueType<DataFieldConfig>()({ /* eslint
|
||||
},
|
||||
current_landuse_source: {
|
||||
edit: true,
|
||||
verify: true,
|
||||
},
|
||||
current_landuse_source_detail: {
|
||||
edit: true,
|
||||
|
@ -69,6 +69,14 @@ const UseView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
||||
placeholder={dataFields.date_source.example}
|
||||
options={dataFields.current_landuse_source.items}
|
||||
/>
|
||||
<Verification
|
||||
slug="current_landuse_source"
|
||||
allow_verify={props.user !== undefined && props.building.current_landuse_source !== null && !props.edited}
|
||||
onVerify={props.onVerify}
|
||||
user_verified={props.user_verified.hasOwnProperty("current_landuse_source")}
|
||||
user_verified_as={props.user_verified.current_landuse_source && props.user_verified.current_landuse_source.join(", ")}
|
||||
verified_count={props.building.verified.current_landuse_source}
|
||||
/>
|
||||
</Fragment>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user