diff options
Diffstat (limited to 'ui-react/src/components/dialogs/Loop')
-rw-r--r-- | ui-react/src/components/dialogs/Loop/ModifyLoopModal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-react/src/components/dialogs/Loop/ModifyLoopModal.js b/ui-react/src/components/dialogs/Loop/ModifyLoopModal.js index 7c16b7863..42c03daca 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() { |