mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Underscore.js _.each() to native Array.forEach() (optional with Object.entries/values)
This commit is contained in:
parent
178e5f6ef7
commit
a5d41edb24
25 changed files with 72 additions and 79 deletions
|
|
@ -79,7 +79,7 @@ class AdminApp extends AbstractApp {
|
|||
let list = [];
|
||||
const loading = {};
|
||||
|
||||
_.each(PackageStore.packages(), (item) => {
|
||||
PackageStore.packages().forEach(item => {
|
||||
if (item && item.loading()) {
|
||||
loading[item.file] = item;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue