mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #12340 from nextcloud/ie11-function-fix
Remove arrow function for ie compatibility
This commit is contained in:
commit
3e8ea395e9
1 changed files with 3 additions and 1 deletions
|
|
@ -55,7 +55,9 @@ OC.Settings = _.extend(OC.Settings, {
|
|||
selection = _.map((groups || []).split('|').sort(), function(groupId) {
|
||||
return {
|
||||
id: groupId,
|
||||
displayname: results.find(group => group.id === groupId).displayname
|
||||
displayname: results.find(function (group) {
|
||||
return group.id === groupId;
|
||||
}).displayname
|
||||
};
|
||||
});
|
||||
} else if (groups) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue