add veriification current_landuse_link
This commit is contained in:
parent
4c0a5d0475
commit
9febf6a21e
@ -269,6 +269,7 @@ export const buildingAttributesConfig = valueType<DataFieldConfig>()({ /* eslint
|
||||
},
|
||||
current_landuse_link: {
|
||||
edit: true,
|
||||
verify: true,
|
||||
},
|
||||
dynamics_has_demolished_buildings: {
|
||||
edit: true,
|
||||
|
@ -149,6 +149,14 @@ const UseView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
||||
placeholder="https://..."
|
||||
editableEntries={true}
|
||||
/>
|
||||
<Verification
|
||||
slug="current_landuse_link"
|
||||
allow_verify={props.user !== undefined && props.building.current_landuse_link !== null && !props.edited}
|
||||
onVerify={props.onVerify}
|
||||
user_verified={props.user_verified.hasOwnProperty("current_landuse_link")}
|
||||
user_verified_as={props.user_verified.current_landuse_link}
|
||||
verified_count={props.building.verified.current_landuse_link}
|
||||
/>
|
||||
</Fragment>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user