aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui-react/src/components/dialogs/Loop/ModifyLoopModal.js4
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 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() {