aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/dialogs/Loop
diff options
context:
space:
mode:
Diffstat (limited to 'ui-react/src/components/dialogs/Loop')
-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 11e93533..8886dbfd 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);
}