From 0ba4d4f7346695655c1abc1f6f3cd14c85121ae8 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Mon, 31 Oct 2022 12:34:19 +0100 Subject: [PATCH] be more clear why data is missing --- .../frontend/building/data-components/planning-data-entry.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 8c893d2e..9423853e 100644 --- a/app/src/frontend/building/data-components/planning-data-entry.tsx +++ b/app/src/frontend/building/data-components/planning-data-entry.tsx @@ -40,7 +40,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 MissingData = "not available" +const MissingData = "not provided by data source" function ShowIfAvailable(data) { return <>{data ? data.toString() : MissingData }