From cb3d51ceca36c43b0d1fe71fe2a5fb330a1d822a Mon Sep 17 00:00:00 2001 From: Ed Chalstrey <edwardchalstrey@gmail.com> Date: Fri, 27 May 2022 11:30:48 +0100 Subject: [PATCH] 'current_landuse_verified': true when slug == 'current_landuse_group' --- app/src/frontend/building/data-container.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/src/frontend/building/data-container.tsx b/app/src/frontend/building/data-container.tsx index fb886d7a..1d47c3bd 100644 --- a/app/src/frontend/building/data-container.tsx +++ b/app/src/frontend/building/data-container.tsx @@ -247,6 +247,13 @@ const withCopyEdit: (wc: React.ComponentType<CategoryViewProps>) => DataContaine this.setState({error: err}); } + if (slug == 'current_landuse_group'){ + const edits = { + 'current_landuse_verified': true + }; + + this.doSubmit(edits); + } console.log(slug + " verify button clicked") }