remove props.building.planning_portal_link

This commit is contained in:
Mateusz Konieczny 2022-09-15 13:40:29 +02:00
parent c3fd10cd5a
commit 6ffe655706

View File

@ -35,22 +35,6 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
<PlanningDataOfficialDataEntry <PlanningDataOfficialDataEntry
value={props.building.planning_data} value={props.building.planning_data}
/>
<DataEntry
title={dataFields.planning_portal_link.title}
slug="planning_portal_link"
value={props.building.planning_portal_link}
mode={props.mode}
copy={props.copy}
onChange={props.onChange}
/>
<Verification
slug="planning_portal_link"
allow_verify={props.user !== undefined && props.building.planning_portal_link !== null && !props.edited}
onVerify={props.onVerify}
user_verified={props.user_verified.hasOwnProperty("planning_portal_link")}
user_verified_as={props.user_verified.planning_portal_link}
verified_count={props.building.verified.planning_portal_link}
/> />
<UserOpinionEntry <UserOpinionEntry
slug='community_expected_planning_application' slug='community_expected_planning_application'