aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js
diff options
context:
space:
mode:
authorxuegao <xg353y@intl.att.com>2019-07-15 15:16:18 +0200
committerxuegao <xg353y@intl.att.com>2019-07-15 15:43:11 +0200
commitf248df69de034f43e04d8dbcf0ad836850cb9654 (patch)
tree8d4cc5703d0aca5c00506e8d769e16f9e09b72ea /ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js
parente44fdb1905fae612b12b56886af8f387e516e485 (diff)
Rework the Open CL window
Rework the Open CL window of the Clamp UI. Issue-ID: CLAMP-420 Change-Id: Ic7e1e6add4067bc2ee94bd758d76e15397d941df Signed-off-by: xuegao <xg353y@intl.att.com>
Diffstat (limited to 'ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js')
-rw-r--r--ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js b/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js
index 7d339313e..fd53300d6 100644
--- a/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js
+++ b/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js
@@ -60,7 +60,7 @@ export default class OperationalPolicyModal extends React.Component {
this.allPolicies = LOOP_CACHE.getOperationalPolicyProperty();
}
// Provision all policies ID first
- if (this.policyIds.length == 0 && this.allPolicies['operational_policy'] != undefined) {
+ if (this.policyIds.length === 0 && this.allPolicies['operational_policy'] !== undefined) {
for (let i = 0; i < this.allPolicies['operational_policy']['policies'].length; i++) {
this.policyIds.push(this.allPolicies['operational_policy']['policies'][i]['id']);
@@ -536,7 +536,7 @@ export default class OperationalPolicyModal extends React.Component {
</span>
</div>
</div>
-
+
</Modal.Body>
<Modal.Footer>
<Button variant="secondary" onClick={this.handleClose}>