Skip to content

Commit

Permalink
Merge pull request #12340 from nextcloud/ie11-function-fix
Browse files Browse the repository at this point in the history
Remove arrow function for ie compatibility
  • Loading branch information
rullzer authored Nov 7, 2018
2 parents f77e24e + 4d63c5e commit 3e8ea39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion settings/js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3e8ea39

Please sign in to comment.