disable crowdsourcing
This commit is contained in:
parent
9133ca787c
commit
e5ca4f19f2
@ -85,28 +85,29 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
||||
mode={props.mode}
|
||||
copy={props.copy}
|
||||
onChange={props.onChange}
|
||||
disabled={true}
|
||||
/>
|
||||
<Verification
|
||||
slug="planning_crowdsourced_planning_id"
|
||||
allow_verify={props.user !== undefined && props.building.planning_crowdsourced_planning_id !== null && !props.edited}
|
||||
allow_verify={false && props.user !== undefined && props.building.planning_crowdsourced_planning_id !== null && !props.edited}
|
||||
onVerify={props.onVerify}
|
||||
user_verified={props.user_verified.hasOwnProperty("planning_crowdsourced_planning_id")}
|
||||
user_verified_as={props.user_verified.planning_crowdsourced_planning_id}
|
||||
verified_count={props.building.verified.planning_crowdsourced_planning_id}
|
||||
/>
|
||||
|
||||
<UserOpinionEntry
|
||||
slug='community_expected_planning_application'
|
||||
title={"If any of the active planning applications are not mapped onto the correct site, please tick here ☑"}
|
||||
|
||||
userValue={props.building.community_expected_planning_application}
|
||||
<LogicalDataEntry
|
||||
slug='community_expected_planning_application_is_inaccurate'
|
||||
title={"If any of the active planning applications are not mapped onto the correct site, please tick here"}
|
||||
value={null}
|
||||
|
||||
onChange={props.onSaveChange}
|
||||
mode={props.mode}
|
||||
copy={props.copy}
|
||||
disabled={true}
|
||||
/>
|
||||
{ /* TODO: have just checkbox, without "Yes" */ }
|
||||
{/*disabled={true}*/}
|
||||
{/* userValue={props.building.community_expected_planning_application_is_inaccurate} */ }
|
||||
{ /* TODO: UserOpinionEntry - but have just checkbox, without "Yes" */ }
|
||||
|
||||
</DataEntryGroup>
|
||||
<DataEntryGroup name="Past applications (official data)" collapsed={true} >
|
||||
@ -128,7 +129,6 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
||||
<UserOpinionEntry
|
||||
slug='community_expected_planning_application'
|
||||
title={buildingUserFields.community_expected_planning_application.title}
|
||||
|
||||
userValue={props.building.community_expected_planning_application}
|
||||
|
||||
onChange={props.onSaveChange}
|
||||
|
Loading…
Reference in New Issue
Block a user