Merge pull request #1694 from nextcloud/stable10-backport-1679

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

View File

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