Underscore.js _.each() to native Array.forEach() (optional with Object.entries/values)

This commit is contained in:
djmaze 2020-07-22 14:49:18 +02:00
parent 178e5f6ef7
commit a5d41edb24
25 changed files with 72 additions and 79 deletions

View file

@ -163,7 +163,7 @@ class FolderUserStore {
timeouts = [],
inboxFolderName = getFolderInboxName(),
fSearchFunction = (list) => {
_.each(list, (folder) => {
list.forEach(folder => {
if (
folder &&
inboxFolderName !== folder.fullNameRaw &&