From 3745b0a4e159fbeb9a062d32e3efb305b908e4c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Wed, 7 Nov 2018 17:46:55 +0100 Subject: [PATCH] Remove arrow function for ie compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- settings/js/settings.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.39.5