From 15be5cce40878ae6eb115294bdd9e1cfb5cec823 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Sat, 5 Nov 2022 09:11:25 +0100 Subject: [PATCH] record status as an available property --- .../frontend/building/data-components/planning-data-entry.tsx | 1 + app/src/frontend/config/data-fields-config.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 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 75963cb7..e96ca3c0 100644 --- a/app/src/frontend/building/data-components/planning-data-entry.tsx +++ b/app/src/frontend/building/data-components/planning-data-entry.tsx @@ -7,6 +7,7 @@ interface PlanningDataOfficialDataEntryProps { shownData: { uprn: string; building_id: number; + status?: string, description?: string; planning_application_link?: string; registered_with_local_authority_date?: string; diff --git a/app/src/frontend/config/data-fields-config.ts b/app/src/frontend/config/data-fields-config.ts index f45ef04d..21c5b9ea 100644 --- a/app/src/frontend/config/data-fields-config.ts +++ b/app/src/frontend/config/data-fields-config.ts @@ -176,8 +176,8 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */ category: Category.Location, title: "PLANNING DATA", tooltip: "PLANNING DATA", - example: [{uprn: "", building_id: 1, "data_source": ""}, - {uprn: "", building_id: 1, "data_source": "", decision_date: "", description: "", planning_application_link: "", registered_with_local_authority_date: "", last_synced_date: "", data_source_link: ""}, + example: [{uprn: "", building_id: 1, data_source: ""}, + {uprn: "", building_id: 1, data_source: "", status: "", decision_date: "", description: "", planning_application_link: "", registered_with_local_authority_date: "", last_synced_date: "", data_source_link: ""}, ], },