Fix the modify model UI bug, update the loopCache before closing the
window.
Issue-ID: CLAMP-783
Change-Id: Ide103f66b103ca2f51e8b7bbeda883db6626d027
Signed-off-by: xuegao <xg353y@intl.att.com>
handleAdd() {
LoopService.addOperationalPolicyType(this.state.loopCache.getLoopName(),this.state.selectedRowData.policyModelType,this.state.selectedRowData.version);
- this.handleClose();
this.props.loadLoopFunction(this.state.loopCache.getLoopName());
+ this.handleClose();
}
handleRemove() {
LoopService.removeOperationalPolicyType(this.state.loopCache.getLoopName(),this.state.selectedRowData.policyModelType,this.state.selectedRowData.version);
- this.handleClose();
this.props.loadLoopFunction(this.state.loopCache.getLoopName());
+ this.handleClose();
}
render() {