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

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