mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Remove arrow function for ie compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
f77e24e725
commit
4d63c5e7d3
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