attempt only refresh on current use verification button pressed
This commit is contained in:
parent
f37ee00dac
commit
0d1d57eaa4
@ -247,11 +247,13 @@ const withCopyEdit: (wc: React.ComponentType<CategoryViewProps>) => DataContaine
|
|||||||
this.setState({error: err});
|
this.setState({error: err});
|
||||||
}
|
}
|
||||||
|
|
||||||
const edits = (slug == 'current_landuse_group') ?
|
if (slug == 'current_landuse_group'){
|
||||||
{['date_year']: value} :
|
const edits = {
|
||||||
{[slug]: value}
|
['current_landuse_verified'] = true
|
||||||
|
}
|
||||||
this.doSubmit(edits);
|
this.doSubmit(edits);
|
||||||
|
console.log('current_landuse_verified updated')
|
||||||
|
}
|
||||||
console.log(slug + " verify button clicked")
|
console.log(slug + " verify button clicked")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user