diff options
author | anushadasari <danush10@in.ibm.com> | 2019-11-07 12:57:11 +0530 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-11-24 16:35:32 +0000 |
commit | b6f8fb70024e863152ed9a234e3535363b7d23f9 (patch) | |
tree | 956f4a225ca32e465854ae7821b021223dcd0e14 /vid-app-common/src/main/webapp | |
parent | eecc12d39cc9f9446a6de4bbc6a6754c52e091b0 (diff) |
Merge this if statement with the enclosing one.
Merging collapsible if statements increases the code's readability
Issue-ID: VID-699
Change-Id: I2c030f36a60957ff63a35de05d3032abe9fed4d9
Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'vid-app-common/src/main/webapp')
-rwxr-xr-x | vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.js index 517f07261..110f24ec6 100755 --- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.js @@ -795,11 +795,9 @@ appDS2.controller("aaiSubscriberController", ["COMPONENT", "FIELD", "PARAMETER", };
$scope.isShowAssignmentsEnabled = function () {
- if (featureFlags.isOn(COMPONENT.FEATURE_FLAGS.FLAG_SHOW_ASSIGNMENTS)) {
- if ($scope.serviceOrchestrationStatus) {
+ if (featureFlags.isOn(COMPONENT.FEATURE_FLAGS.FLAG_SHOW_ASSIGNMENTS) && $scope.serviceOrchestrationStatus) {
return $scope.serviceOrchestrationStatus.toLowerCase() === 'assigned';
}
- }
return false;
};
|