diff --git a/app/src/frontend/building/data-container.tsx b/app/src/frontend/building/data-container.tsx index 203890dd..911e9567 100644 --- a/app/src/frontend/building/data-container.tsx +++ b/app/src/frontend/building/data-container.tsx @@ -248,7 +248,7 @@ const withCopyEdit: (wc: React.ComponentType) => DataContaine } const edits = (slug == 'current_landuse_group') ? - {['fake_slug']: value} : + {['date_year']: value} : {[slug]: value} this.doSubmit(edits); diff --git a/app/src/frontend/config/data-fields-config.ts b/app/src/frontend/config/data-fields-config.ts index ef01e74d..f808f000 100644 --- a/app/src/frontend/config/data-fields-config.ts +++ b/app/src/frontend/config/data-fields-config.ts @@ -632,8 +632,7 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */ year_demolished: { min: 1993, max: 1994 }, lifespan: "2-5", overlap_present: "50%", links: ["", ""]} ] - }, - fake_slug: {} + } }; export const allFieldsConfig = {...dataFields, ...buildingUserFields}; \ No newline at end of file