Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Use ViewModel vm instead of $scope in manage social accounts controller.
Browse files Browse the repository at this point in the history
  • Loading branch information
fauria committed Jun 3, 2016
1 parent edc663f commit 66c6dc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

// Check if there are additional accounts
function hasConnectedAdditionalSocialAccounts() {
return ($scope.user.additionalProvidersData && Object.keys($scope.user.additionalProvidersData).length);
return (vm.user.additionalProvidersData && Object.keys(vm.user.additionalProvidersData).length);
}

// Check if provider is already in use with current user
Expand Down

0 comments on commit 66c6dc5

Please sign in to comment.