diff --git a/app/src/frontend/building/data-container.tsx b/app/src/frontend/building/data-container.tsx index 911e9567..72b8f1c5 100644 --- a/app/src/frontend/building/data-container.tsx +++ b/app/src/frontend/building/data-container.tsx @@ -247,11 +247,13 @@ const withCopyEdit: (wc: React.ComponentType) => DataContaine this.setState({error: err}); } - const edits = (slug == 'current_landuse_group') ? - {['date_year']: value} : - {[slug]: value} - - this.doSubmit(edits); + if (slug == 'current_landuse_group'){ + const edits = { + ['current_landuse_verified'] = true + } + this.doSubmit(edits); + console.log('current_landuse_verified updated') + } console.log(slug + " verify button clicked") }