Show email as fallback when a user has no username yet
This commit is contained in:
@@ -443,6 +443,9 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
return $timeout(fetchUsers, 5000);
|
||||
}
|
||||
|
||||
// ensure we have something to work with in the access restriction dropdowns
|
||||
users.forEach(function (user) { user.display = user.username || user.email; });
|
||||
|
||||
$scope.users = users;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user