From 1b1bd5b139f95d3ef68d674dac7df16443f5d08e Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Wed, 14 Sep 2022 16:54:43 +0200 Subject: [PATCH] move planning_portal_link to top --- .../data-components/planning-data-entry.tsx | 5 ----- .../building/data-containers/planning.tsx | 22 ++++++++++++------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/app/src/frontend/building/data-components/planning-data-entry.tsx b/app/src/frontend/building/data-components/planning-data-entry.tsx index fc25b06b..d0281400 100644 --- a/app/src/frontend/building/data-components/planning-data-entry.tsx +++ b/app/src/frontend/building/data-components/planning-data-entry.tsx @@ -1,6 +1,5 @@ import React, { Fragment } from 'react'; -import DataTitle from './data-title'; import InfoBox from '../../components/info-box'; import CheckboxDataEntry from '../data-components/checkbox-data-entry'; @@ -54,10 +53,6 @@ const PlanningDataOfficialDataEntry: React.FC - Current planning application status for this site: {data[0]["status"]} diff --git a/app/src/frontend/building/data-containers/planning.tsx b/app/src/frontend/building/data-containers/planning.tsx index 1cef76ec..e251ebd9 100644 --- a/app/src/frontend/building/data-containers/planning.tsx +++ b/app/src/frontend/building/data-containers/planning.tsx @@ -14,6 +14,7 @@ import SelectDataEntry from '../data-components/select-data-entry'; import Verification from '../data-components/verification'; import withCopyEdit from '../data-container'; import PlanningDataOfficialDataEntry from '../data-components/planning-data-entry'; +import DataTitle from './data-title'; import { CategoryViewProps } from './category-view-props'; import { Category } from '../../config/categories-config'; @@ -26,6 +27,19 @@ const PlanningView: React.FunctionComponent = (props) => { This section is under development as part of the project CLPV Tool. For more details and progress read here. + + + = (props) => { copy={props.copy} onChange={props.onChange} /> -