diff --git a/app/src/frontend/building/data-container.tsx b/app/src/frontend/building/data-container.tsx index 911e9567..203890dd 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') ? - {['date_year']: value} : + {['fake_slug']: 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 f808f000..ef01e74d 100644 --- a/app/src/frontend/config/data-fields-config.ts +++ b/app/src/frontend/config/data-fields-config.ts @@ -632,7 +632,8 @@ 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