Skip to content

Commit 3e8ea39

Browse files
authored
Merge pull request #12340 from nextcloud/ie11-function-fix
Remove arrow function for ie compatibility
2 parents f77e24e + 4d63c5e commit 3e8ea39

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

settings/js/settings.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ OC.Settings = _.extend(OC.Settings, {
5555
selection = _.map((groups || []).split('|').sort(), function(groupId) {
5656
return {
5757
id: groupId,
58-
displayname: results.find(group => group.id === groupId).displayname
58+
displayname: results.find(function (group) {
59+
return group.id === groupId;
60+
}).displayname
5961
};
6062
});
6163
} else if (groups) {

0 commit comments

Comments
 (0)