summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-11-07 17:46:55 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-11-07 17:51:06 +0100
commit4d63c5e7d335ca29cd2b72b55f498bd67acf8099 (patch)
tree9815367c3de6d0d20177717d1f359eda68965f75 /settings
parentf77e24e725b2b61df9a30b0eed79c7f76a7fdbb5 (diff)
downloadnextcloud-server-4d63c5e7d335ca29cd2b72b55f498bd67acf8099.tar.gz
nextcloud-server-4d63c5e7d335ca29cd2b72b55f498bd67acf8099.zip
Remove arrow function for ie compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/settings.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/settings/js/settings.js b/settings/js/settings.js
index 66b8347fdf2..2c4f9c4c94f 100644
--- a/settings/js/settings.js
+++ b/settings/js/settings.js
@@ -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) {