special handleVerify for current_landuse_group verification
This commit is contained in:
parent
39e7ac8b39
commit
48673e3dbd
@ -247,9 +247,15 @@ const withCopyEdit: (wc: React.ComponentType<CategoryViewProps>) => DataContaine
|
|||||||
this.setState({error: err});
|
this.setState({error: err});
|
||||||
}
|
}
|
||||||
|
|
||||||
const edits = {
|
if (slug == 'current_landuse_group'){
|
||||||
[slug]: value
|
const edits = {
|
||||||
};
|
['current_landuse_verified']: TRUE
|
||||||
|
};
|
||||||
|
} else {
|
||||||
|
const edits = {
|
||||||
|
[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