X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ui-react%2Fsrc%2Fcomponents%2Fdialogs%2FLoop%2FModifyLoopModal.js;h=42c03daca88f3025522238b7cd20d5fdb18b656e;hb=a2625fe6c6819fc41a6f4f5a9625cd9ba753bc72;hp=7c16b78634dcc92bb88601b8adfc1b93ac072b7e;hpb=fa1e4db9078caa149ab6d19697d5863b1103aaa8;p=clamp.git diff --git a/ui-react/src/components/dialogs/Loop/ModifyLoopModal.js b/ui-react/src/components/dialogs/Loop/ModifyLoopModal.js index 7c16b786..42c03dac 100644 --- a/ui-react/src/components/dialogs/Loop/ModifyLoopModal.js +++ b/ui-react/src/components/dialogs/Loop/ModifyLoopModal.js @@ -162,14 +162,14 @@ export default class ModifyLoopModal extends React.Component { 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() {