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 9423853e..e5fab912 100644 --- a/app/src/frontend/building/data-components/planning-data-entry.tsx +++ b/app/src/frontend/building/data-components/planning-data-entry.tsx @@ -66,7 +66,7 @@ const PlanningDataOfficialDataEntry: React.FC -
Planning application status is streamed using live data uploaded by local authorities to the {item["data_source"]}.
+
Planning application status is streamed using live data uploaded by local authorities to the {item["data_source_link"] ? {item["data_source"]} : item["data_source"] }.

Current planning application status for this site: {ShowIfAvailable(item["status"])}
Planning application ID: {ShowIfAvailable(item["planning_application_id"])}
diff --git a/etl/planning_data/obtain_livestream_data_and_load_into_database.py b/etl/planning_data/obtain_livestream_data_and_load_into_database.py index c5076b0f..243397ee 100644 --- a/etl/planning_data/obtain_livestream_data_and_load_into_database.py +++ b/etl/planning_data/obtain_livestream_data_and_load_into_database.py @@ -62,7 +62,7 @@ def load_data_into_database(cursor, data): "uprn": uprn, "status": status, "data_source": "Greater London Authority's Planning London DataHub", - "data_source_link": "https://data.london.gov.uk/dataset/planning-london-datahub?_gl=1%2aprwpc%2a_ga%2aMzQyOTg0MjcxLjE2NTk0NDA4NTM", # TODO not an actual source... + "data_source_link": None } insert_entry(cursor, entry) except TypeError as e: