Merge pull request #1696 from nextcloud/stable9-backport-1679

[stable9] Improve user list rendering perf by not resorting after every add (#2…
This commit is contained in:
Roeland Jago Douma 2016-10-11 14:25:44 +02:00 committed by GitHub
commit d7dbec5ee5
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ var UserList = {
if(UserList.has(user.name)) {
return true;
}
var $tr = UserList.add(user, user.lastLogin, false, user.backend);
var $tr = UserList.add(user, false);
trs.push($tr);
loadedUsers++;
});