};\r
\r
$scope.isShowAssignmentsEnabled = function () {\r
- if (featureFlags.isOn(COMPONENT.FEATURE_FLAGS.FLAG_SHOW_ASSIGNMENTS)) {\r
- if ($scope.serviceOrchestrationStatus) {\r
+ if (featureFlags.isOn(COMPONENT.FEATURE_FLAGS.FLAG_SHOW_ASSIGNMENTS) && $scope.serviceOrchestrationStatus) {\r
return $scope.serviceOrchestrationStatus.toLowerCase() === 'assigned';\r
}\r
- }\r
return false;\r
};\r
\r