Github user necouchman commented on a diff in the pull request:
https://github.com/apache/guacamole-client/pull/342#discussion_r238886562
--- Diff:
guacamole/src/main/webapp/app/navigation/directives/guacUserMenu.js ---
@@ -95,13 +95,10 @@ angular.module('navigation').directive('guacUserMenu',
[function guacUserMenu()
*/
$scope.role = null;
- // Pull user data
+ // Display user profile attributes if available
userService.getUser(authenticationService.getDataSource(),
$scope.username)
.then(function userRetrieved(user) {
- // Store retrieved user object
- $scope.user = user;
--- End diff --
Just want to make sure this doesn't have any impact? Was this $scope.user
not used at all?
---