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
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);
}
if (errors.length !== 0) {
console.error("Errors detected during policy data validation ", errors);
+ this.setState({
+ showFailAlert: true,
+ showMessage: "Errors detected during policy data validation " + errors
+ });
return;
}
else {