commit | 0efeb6b141cb4abe84af8eb38e26d5ed1ab73bb0 | [log] [tgz] |
---|---|---|
author | xuegao <xg353y@intl.att.com> | Mon Oct 07 14:36:34 2019 +0200 |
committer | xuegao <xg353y@intl.att.com> | Mon Oct 07 14:36:34 2019 +0200 |
tree | 8c716d7b22828b13a796aa924b1e156a51b9e420 | |
parent | 52432d6512d2477ad16d46f5ab31a8f77e9f77bd [diff] [blame] |
Fix Sonar vulnerabilities Fix the vulnerabilities reported by Sonar. Issue-ID: CLAMP-530 Change-Id: I9f6a7fe9ce042045085c371ef3777188b11ffb36 Signed-off-by: xuegao <xg353y@intl.att.com>
diff --git a/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js b/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js index 4dc1f90..5c5f024 100644 --- a/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js +++ b/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js
@@ -54,7 +54,7 @@ if (errors.length !== 0) { console.error("Errors detected during config policy data validation ", errors); - alert(errors); + this.props.showAlert(errors); } else { console.info("NO validation errors found in config policy data");