summaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/dialogs/Loop/ModifyLoopModal.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui-react/src/components/dialogs/Loop/ModifyLoopModal.js')
-rw-r--r--ui-react/src/components/dialogs/Loop/ModifyLoopModal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-react/src/components/dialogs/Loop/ModifyLoopModal.js b/ui-react/src/components/dialogs/Loop/ModifyLoopModal.js
index 11e935338..8886dbfdf 100644
--- a/ui-react/src/components/dialogs/Loop/ModifyLoopModal.js
+++ b/ui-react/src/components/dialogs/Loop/ModifyLoopModal.js
@@ -133,7 +133,7 @@ export default class ModifyLoopModal extends React.Component {
var selectedPolicyModels = [];
for (var policy in operationalPolicies) {
var newRow = operationalPolicies[policy]["policyModel"];
- newRow.add("policyName", operationalPolicies[policy].name);
+ newRow["policyName"] = operationalPolicies[policy].name;
selectedPolicyModels.push(newRow);
}