tweak wording for older planning data

This commit is contained in:
Mateusz Konieczny 2022-11-23 11:48:48 +01:00
parent dc5e00f7e6
commit ba6bd944fc

View File

@ -60,7 +60,10 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
allEntryCount={props.building.planning_data ? props.building.planning_data.length : 0}
/>
</DataEntryGroup>
<DataEntryGroup name="Historical applications (official data)" collapsed={true} >
<DataEntryGroup name="Past applications (official data)" collapsed={true} >
<InfoBox type='warning'>
Past applications, including those with no decision in over a year
</InfoBox>
<PlanningDataOfficialDataEntry
shownData={props.building.planning_data ? props.building.planning_data.filter(item => isArchived(item)) : []}
allEntryCount={props.building.planning_data ? props.building.planning_data.length : 0}