Fix a tab and remove some console.logs
This commit is contained in:
		
							parent
							
								
									6a038bb24e
								
							
						
					
					
						commit
						810b711fc4
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		|  | @ -135,7 +135,7 @@ function LandingCtrl($scope, $timeout, Restangular, UserService) { | |||
| 
 | ||||
|   $scope.$watch( function () { return UserService.currentUser(); }, function (currentUser) { | ||||
|     if (!currentUser.anonymous) { | ||||
| 	$scope.loadMyRepos(); | ||||
|       $scope.loadMyRepos(); | ||||
|     } | ||||
| 
 | ||||
|     $scope.user = currentUser; | ||||
|  | @ -161,7 +161,6 @@ function LandingCtrl($scope, $timeout, Restangular, UserService) { | |||
|       $scope.awaitingConfirmation = true; | ||||
|       $scope.registering  = false; | ||||
|     }, function(result) { | ||||
|       console.log("Displaying error message."); | ||||
|       $scope.registering  = false; | ||||
|       $scope.registerError = result.data.message; | ||||
|       $timeout(function() { | ||||
|  | @ -477,8 +476,6 @@ function UserAdminCtrl($scope, Restangular, PlanService, $routeParams) { | |||
|           plan: planId, | ||||
|         }; | ||||
| 
 | ||||
|         console.log(subscriptionDetails); | ||||
| 
 | ||||
|         var createSubscriptionRequest = Restangular.one('user/plan'); | ||||
|         createSubscriptionRequest.customPUT(subscriptionDetails).then(subscribedToPlan, function() { | ||||
|           // Failure
 | ||||
|  |  | |||
		Reference in a new issue