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>
diff --git a/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js b/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js
index 7d33931..fd53300 100644
--- a/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js
+++ b/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js
@@ -60,7 +60,7 @@
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 @@
</span>
</div>
</div>
-
+
</Modal.Body>
<Modal.Footer>
<Button variant="secondary" onClick={this.handleClose}>