From 583d18b3d4d073a31cd77d10ae355baf4943d2b4 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Tue, 6 Dec 2022 17:31:56 +0100 Subject: [PATCH] tweak situation description --- .../building/data-components/planning-data-entry.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 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 3b4bf932..91ba49d5 100644 --- a/app/src/frontend/building/data-components/planning-data-entry.tsx +++ b/app/src/frontend/building/data-components/planning-data-entry.tsx @@ -51,7 +51,7 @@ const LongText = ({ content,limit}) => { } -const Disclaimer = () => { return
Disclaimer: these data are currently incomplete and also often do not provide information on minor alterations. For comprehensive information on all applications please visit the local authorities' planning websites.
} +const Disclaimer = () => { return
Disclaimer: Not all applications for London are displayed. Some boroughs do not yet provide planning data to the GLA. For comprehensive information on applications please visit the relevant local authority's planning website.
} const MissingData = "not provided by data source" @@ -100,10 +100,13 @@ const PlanningDataOfficialDataEntry: React.FC + {/* TODO: data[0] is problematic here... Compute it from listed elements and show all distinct variants? Error if they are not distinct? Hardcode it? */} +
+ Planning application status is streamed using live data uploaded by local authorities to {data[0]["data_source_link"] ? {data[0]["data_source"]} : data[0]["data_source"] }. +

- {/* TODO: data[0] is problematic here... Compute it from listed elements and show all distinct variants? Error if they are not distinct? Hardcode it? */} -
Planning application status is streamed using live data uploaded by local authorities to the {data[0]["data_source_link"] ? {data[0]["data_source"]} : data[0]["data_source"] }.
+ {data.map((item) => (