mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
#1866 changed parameter name for function so that it is no longer "item"
This commit is contained in:
@@ -220,11 +220,11 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Shared', 'Groups', '
|
||||
$scope.usernames = [];
|
||||
}
|
||||
|
||||
$scope.filterUser = function(item) {
|
||||
$scope.filterUser = function(userItem) {
|
||||
if ($scope.query === undefined || $scope.query === null) {
|
||||
return true;
|
||||
}
|
||||
return item.user.indexOf($scope.query.text) == 0; // query should be prefix of item.user
|
||||
return userItem.user.indexOf($scope.query.text) == 0; // query should be prefix of item.user
|
||||
}
|
||||
|
||||
$scope.addNewUser = function(user) {
|
||||
|
||||
Reference in New Issue
Block a user