Skip to content

Commit

Permalink
adding back accidental overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
willdoran committed Oct 24, 2015
1 parent e0c2863 commit aa6ee04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/setting/controllers/setting-users-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function (
calls.push(UserEndpoint.deleteCache({ id: userId }).$promise);
});

$q.all(calls).then($scope.filterRole, handleResponseErrors)
$q.all(calls).then(getUsersForPagination, handleResponseErrors)
.finally($scope.filterRole);
}
});
Expand All @@ -99,7 +99,7 @@ function (
angular.forEach($scope.selectedUsers, function (userId) {
calls.push(UserEndpoint.saveCache({ id: userId, role: role.name }).$promise);
});
$q.all(calls).then($scope.filterRole, handleResponseErrors)
$q.all(calls).then(getUsersForPagination, handleResponseErrors)
.finally($scope.filterRole);
}
});
Expand Down

0 comments on commit aa6ee04

Please sign in to comment.