Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
<eg-org-selector
selected="contextOrg"
hidden-test="wsOrgHidden">
+ disable-test="cant_have_users">
</eg-org-selector>
</div>
<input type='text' class='form-control'
.then(function() { $scope.defaultWS = $scope.selectedWS });
}
+ $scope.cant_have_users = function (id) { return !egCore.org.CanHaveUsers(id); };
+
// redirect the user to the login page using the current
// workstation as the workstation URL param
$scope.useWS = function() {