diff --git a/app/src/frontend/building/data-container.tsx b/app/src/frontend/building/data-container.tsx index 3e5b45f8..911e9567 100644 --- a/app/src/frontend/building/data-container.tsx +++ b/app/src/frontend/building/data-container.tsx @@ -246,10 +246,10 @@ const withCopyEdit: (wc: React.ComponentType) => DataContaine } catch(err) { this.setState({error: err}); } - - const edits = { - [slug]: value - }; + + const edits = (slug == 'current_landuse_group') ? + {['date_year']: value} : + {[slug]: value} this.doSubmit(edits); console.log(slug + " verify button clicked")