From 8c134968a9de77aa11a57cc53502c3ba32ef7914 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Mon, 28 Nov 2022 11:26:57 +0100 Subject: [PATCH] rewrite organisation of planning menu --- .../building/data-containers/planning.tsx | 32 ++++++++----------- 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/app/src/frontend/building/data-containers/planning.tsx b/app/src/frontend/building/data-containers/planning.tsx index ced8dee0..81f5336b 100644 --- a/app/src/frontend/building/data-containers/planning.tsx +++ b/app/src/frontend/building/data-containers/planning.tsx @@ -51,29 +51,14 @@ const PlanningView: React.FunctionComponent = (props) => { return ( - + isArchived(item) == false) : []} allEntryCount={props.building.planning_data ? props.building.planning_data.length : 0} /> - - - Past applications, including those with no decision in over a year - - isArchived(item)) : []} - allEntryCount={props.building.planning_data ? props.building.planning_data.length : 0} - /> - - - - + = (props) => { // "type": "year_estimator" /> + + + Past applications, including those with no decision in over a year + + isArchived(item)) : []} + allEntryCount={props.building.planning_data ? props.building.planning_data.length : 0} + /> + + +