collapse planning applications section

This commit is contained in:
Mateusz Konieczny 2022-12-06 17:34:09 +01:00
parent 583d18b3d4
commit 3e0063ba4a

View File

@ -51,7 +51,7 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
const communityLinkUrl = `/${props.mode}/${Category.Community}/${props.building.building_id}`; const communityLinkUrl = `/${props.mode}/${Category.Community}/${props.building.building_id}`;
return ( return (
<Fragment> <Fragment>
<DataEntryGroup name="Planning application information" collapsed={false} > <DataEntryGroup name="Planning application information" collapsed={true} >
<DataEntryGroup name="Current/active applications (official data)" collapsed={false} > <DataEntryGroup name="Current/active applications (official data)" collapsed={false} >
<PlanningDataOfficialDataEntry <PlanningDataOfficialDataEntry
shownData={props.building.planning_data ? props.building.planning_data.filter(item => isArchived(item) == false) : []} shownData={props.building.planning_data ? props.building.planning_data.filter(item => isArchived(item) == false) : []}