Merge pull request #1679 from nextcloud/downstream-26282

Improve user list rendering perf by not resorting after every add (#2…
This commit is contained in:
Roeland Jago Douma 2016-10-10 22:10:46 +02:00 committed by GitHub
commit 1f0bc6936e
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,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++;
});