From 6e7d04895c9133f772f3d781e84dbfc7b32f2874 Mon Sep 17 00:00:00 2001 From: sebdet Date: Thu, 16 Apr 2020 16:14:45 +0200 Subject: 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 Change-Id: I793212adcfb36675c3aae9edbc077f29b14b262e --- ui-react/src/components/dialogs/Loop/ModifyLoopModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui-react/src/components/dialogs/Loop/ModifyLoopModal.js') 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); } -- cgit 1.2.3-korg