summaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js
diff options
context:
space:
mode:
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}>