Merge pull request #12340 from nextcloud/ie11-function-fix
Remove arrow function for ie compatibility
This commit is contained in:
commit
3e8ea395e9
|
@ -55,7 +55,9 @@ OC.Settings = _.extend(OC.Settings, {
|
||||||
selection = _.map((groups || []).split('|').sort(), function(groupId) {
|
selection = _.map((groups || []).split('|').sort(), function(groupId) {
|
||||||
return {
|
return {
|
||||||
id: groupId,
|
id: groupId,
|
||||||
displayname: results.find(group => group.id === groupId).displayname
|
displayname: results.find(function (group) {
|
||||||
|
return group.id === groupId;
|
||||||
|
}).displayname
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
} else if (groups) {
|
} else if (groups) {
|
||||||
|
|
Loading…
Reference in New Issue