From d3b7e3f065f4ce2ff76495c9e084390da17ad06f Mon Sep 17 00:00:00 2001 From: Maciej Ziarkowski Date: Fri, 18 Oct 2019 15:26:46 +0100 Subject: [PATCH] Fix checkbox inputs in planning view --- .../building/data-containers/planning.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/src/frontend/building/data-containers/planning.tsx b/app/src/frontend/building/data-containers/planning.tsx index 46ab95b6..54562b65 100644 --- a/app/src/frontend/building/data-containers/planning.tsx +++ b/app/src/frontend/building/data-containers/planning.tsx @@ -24,7 +24,7 @@ const PlanningView = (props) => ( value={props.building.planning_in_conservation_area} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} /> ( value={props.building.planning_in_list} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} /> ( value={props.building.planning_in_glher} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} /> ( value={props.building.planning_in_apa} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} /> ( value={props.building.planning_in_local_list} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} /> ( value={props.building.planning_in_historic_area_assessment} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} /> ( value={props.building.planning_demolition_proposed} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} disabled={true} /> ( value={props.building.planning_demolition_complete} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} disabled={true} />