be more clear why data is missing

This commit is contained in:
Mateusz Konieczny 2022-10-31 12:34:19 +01:00
parent 1c210fb8d6
commit 0ba4d4f734

View File

@ -40,7 +40,7 @@ const LongText = ({ content,limit}) => {
const Disclaimer = () => { return <Fragment><div><i><u>Disclaimer</u>: 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.</i></div></Fragment> } const Disclaimer = () => { return <Fragment><div><i><u>Disclaimer</u>: 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.</i></div></Fragment> }
const MissingData = "not available" const MissingData = "not provided by data source"
function ShowIfAvailable(data) { function ShowIfAvailable(data) {
return <>{data ? data.toString() : MissingData }</> return <>{data ? data.toString() : MissingData }</>