aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/dialogs/Loop/ModifyLoopModal.js
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2020-04-16 16:14:45 +0200
committersebdet <sebastien.determe@intl.att.com>2020-04-16 16:14:45 +0200
commit6e7d04895c9133f772f3d781e84dbfc7b32f2874 (patch)
treedd034350c9e0733628784a6a5739338c6792398f /ui-react/src/components/dialogs/Loop/ModifyLoopModal.js
parentab3eab60a0883ffa22eb12e2b8680088c9ad25a1 (diff)
Remove policy from PEF when removing op policy
The operational policy must be removed from the PEF when the user remove an operational policy (at least attempt to purge the PEF) Issue-ID: CLAMP-824 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I793212adcfb36675c3aae9edbc077f29b14b262e
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 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);
}