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