restore original "edits" dict
This commit is contained in:
parent
bb9d1468cc
commit
2801782151
@ -247,9 +247,9 @@ const withCopyEdit: (wc: React.ComponentType<CategoryViewProps>) => DataContaine
|
|||||||
this.setState({error: err});
|
this.setState({error: err});
|
||||||
}
|
}
|
||||||
|
|
||||||
const edits = (slug == 'current_landuse_group') ?
|
const edits = {
|
||||||
{['current_landuse_verified']: true} :
|
[slug]: value
|
||||||
{[slug]: value}
|
};
|
||||||
|
|
||||||
this.doSubmit(edits);
|
this.doSubmit(edits);
|
||||||
console.log(slug + " verify button clicked")
|
console.log(slug + " verify button clicked")
|
||||||
|
Loading…
Reference in New Issue
Block a user